ZeroSpace.gg

Endari Wyrm

Endari T2 Merc Unit

import { EndariMercUnit } from "../../../../defaults/endari.js"; import { Attack, Spell } from "../../../../engine/ability.js"; // Stats from dev unit_data.json. Flavor fields (description, tier, ability naming/targeting) // are placeholder pending the separate description source. Dev lists a "Line Attack" ability // with no detail data — omitted until specced. class EndariWyrm extends EndariMercUnit { override uuid: string; static override src = "src/zerospace/mercenary/endari/unit/endari-wyrm.ts"; constructor() { super(); this.hexiteCost = 125; this.fluxCost = 125; this.name = "Endari Wyrm"; this.tier = "T2"; this.hotkey = "C"; this.uuid = "3e66c129-31ba-4e5b-b9e3-9a61d6ab2214"; this.internalId = "Troop_Endari_Drake_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Endari_Drake.Default__Troop_Endari_Drake_C"; this.internalTags = [ "Attackable.Unit.Troop", "Attackable.FlyingUnit", "Attackable.ArmorType.Medium", "Local.Endari", "Attackable.Biological", ]; this.internalSecondaryTags = ["Air", "Biological"]; this.description = "Endari flyer which can attack air and ground and cast Line Attack."; this.hp = 300; this.startingEnergy = 100; this.energyRegen = 2.5; this.shields = 0; this.armor = 0; this.armorType = "medium"; this.domain = "air"; this.speed = 650; this.supply = 5; this.turnSpeed = 4000; this.vision = 1800; this.pushability = 1; this.energy = 100; this.createdBy = ["mercenary/endari/building/silent-hollow", "mercenary/endari/unit/awoken-hollow"]; this.attacks.unvoice = new Attack({ internalId: "Default__Weapon_Endari_Drake_C", name: "Unvoice", damage: 20, range: 1200, cooldown: 2, armorPenetration: 0, delay: 0.14, targets: ["ground", "air"], parentId: this.id, parentUUID: this.uuid, }); this.spells.scorchTheLand = new Spell({ name: "Scorch the Land", hotkey: "V", description: "Flies quickly to a point, bombarding the ground beneath along the way, dealing damage to nearby enemies.", damage: 60, range: 3200, energyCost: 50, energyType: "classic", cooldown: 15, targets: ["map"], targetMode: "strip", parentId: this.id, parentUUID: this.uuid, }); } } export default EndariWyrm;