ZeroSpace.gg

Xyther

Xol T1 Army Unit

import { XolArmyUnit } from "../../../../defaults/xol.js"; import { Attack, Passive } from "../../../../engine/ability.js"; import { applyXolMerges } from "../_util/xol-merges.js"; export class Xyther extends XolArmyUnit { override uuid: string; static override src = "src/zerospace/faction/xol/unit/xyther.ts"; constructor() { super(); applyXolMerges(this); this.hexiteCost = 75; this.fluxCost = 0; this.buildTime = 30; this.name = "Xyther"; this.tier = "T1"; this.hotkey = ""; this.uuid = "1763bde7-553e-4ec8-9df0-307ab8917a41"; this.internalId = "Troop_Xol_Xyther_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Xol_Xyther.Default__Troop_Xol_Xyther_C"; this.internalTags = [ "Attackable.Unit.Troop", "Attackable.Unit.Light", "Attackable.ArmorType.Medium", "Local.Xol.Xyther", "Troop.Xol.Tier1", ]; this.internalSecondaryTags = ["Infantry"]; this.description = "Melee unit. Its shield takes reduced damage from attacks over a certain amount. Can attack ground units."; this.createdBy = ["faction/xol/building/xyther-assembler"]; this.unlockedBy = ["faction/xol/building/xyther-assembler"]; this.hp = 150; this.shields = 100; this.armor = 0; this.armorType = "medium"; this.speed = 540; this.supply = 2; this.turnSpeed = 3000; this.vision = 1600; this.pushability = 1; this.modes = [ { slug: "normal", name: "Normal", description: "Has not been upgraded by the Molten Core." }, { slug: "molten", name: "Molten", description: "Upgraded by the Molten Core for 100 energy." }, ]; this.attacks.primary = new Attack({ name: "Nexus Sever", damage: 24, range: 100, cooldown: 2, armorPenetration: 0, delay: 0.12, targets: ["ground"], parentId: this.id, parentUUID: this.uuid, }); this.passives.moltenRebuild = new Passive({ name: "Molten Rebuild", description: "Rebuilds after being destroyed. 120 second cooldown.", cooldown: 120, requiresMode: "molten", parentId: this.id, parentUUID: this.uuid, }); } } export default Xyther;