ZeroSpace.gg

Echo

Xol T2 Army Unit

import { XolArmyUnit } from "../../../../defaults/xol.js"; import { Attack, Passive } from "../../../../engine/ability.js"; import { applyXolMerges } from "../_util/xol-merges.js"; // Stats from dev unit_data.json; tier from the Troop.Xol.TierN tag; description from export class Echo extends XolArmyUnit { override uuid: string; static override src = "src/zerospace/faction/xol/unit/echo.ts"; constructor() { super(); applyXolMerges(this); this.buildTime = 16; this.name = "Echo"; this.tier = "T2"; this.hotkey = ""; this.uuid = "3674dce7-5ace-45b1-bf16-09920df6b585"; this.internalId = "Troop_Xol_Echo_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Xol_Echo.Default__Troop_Xol_Echo_C"; this.internalTags = [ "Attackable.Unit.Troop", "Local.Xol.Echo", "Attackable.ArmorType.Medium", "Attackable.FlyingUnit", "Troop.Xol.Tier1", ]; this.internalSecondaryTags = ["Air"]; this.description = "Light harassment air unit. When attacking, makes weaker echoes of itself. Deals bonus damage to harvesters and extractors."; this.unlockedBy = ["faction/xol/building/molten-core"]; this.hp = 125; this.shields = 0; this.armor = 0; this.armorType = "medium"; this.domain = "air"; this.speed = 800; this.supply = 2; this.turnSpeed = 4000; this.vision = 1800; this.pushability = 0; this.attacks.nebulaPulse = new Attack({ internalId: "Default__Weapon_Xol_MP_Echo_C", name: "Nebula Pulse", damage: 13, range: 500, cooldown: 2, armorPenetration: 0, delay: 0, targets: ["ground"], bonusDamage: [{ multiplier: 1.5, vs: ["armor:medium"] }], parentId: this.id, parentUUID: this.uuid, }); this.passives.hallucination = new Passive({ name: "Hallucination", description: "Creates a hallucination on attack every 20 seconds. Hallucinations last 60 seconds.", cooldown: 20, duration: 60, parentId: this.id, parentUUID: this.uuid, }); } } export default Echo;