ZeroSpace.gg

Sacrificial Site

Legion Special Unit

import { Heal } from "../../../../engine/ability.js"; import { LegionSpecialUnit } from "../../../../defaults/legion.js"; /** * Not built: Galavax's Sacrificial Spear (Thrall) converts a friendly Thrall into one of these, * which is why it costs nothing and takes no supply. */ export class SacrificialSite extends LegionSpecialUnit { override uuid: string; static override src = "src/zerospace/faction/legion/unit/sacrificial-site.ts"; /** Raiseable despite taking no supply, at the flat 1 a zero-cost unit works out to. */ override eligibleForReanimateOverride = true; override eligibleForReplicateOverride = false; constructor() { super(); this.hexiteCost = 0; this.fluxCost = 0; this.buildCount = 1; this.name = "Sacrificial Site"; this.uuid = "7ef26777-d15e-4877-b5e9-7b9631f92aba"; this.hp = 150; this.armor = 2; this.armorType = "building"; this.speed = 0; this.supply = 0; this.internalId = "Troop_Empire_ThrallTotem_C"; this.internalTags = [ "Attackable.Unit.Troop", "Attackable.Unit.Light", "Unit.IgnoreAllArmySelect", "Local.Legion.Infantry.ThrallTotem", "Attackable.Biological", ]; this.createdBy = ["faction/legion/hero/galavax"]; this.heals.heal = new Heal({ name: "Heal", healing: 15, cooldown: 1, parentId: this.id, parentUUID: this.uuid, }); } } export default SacrificialSite;