ZSGG Public Library
Endari Shade
Endari Co-Op T1 Merc Unit
import { EndariMercUnit } from "../../../../../defaults/endari.js";
import { Attack } from "../../../../../engine/ability.js";
class CoopEndariShade extends EndariMercUnit {
override uuid: string;
static override src = "src/zerospace/coop/mercenary/endari/unit/coop-endari-shade.ts";
constructor() {
super();
this.hexiteCost = 225;
this.fluxCost = 0;
this.buildCount = 3;
this.name = "Endari Shade";
this.tier = "T1";
this.hotkey = "Z";
// Retains its original UUID: this is the moved Arandi Shade (always an Endari unit in lore),
// not a brand-new entity.
this.uuid = "05bb221b-9caa-45e2-93c3-5ba5747ce81a";
this.internalId = "Troop_Endari_Shade_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Endari_Shade.Default__Troop_Endari_Shade_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.Unit.Light",
"Attackable.ArmorType.Light",
"Attackable.Biological",
"Local.Endari",
];
this.internalSecondaryTags = ["Biological", "Infantry"];
this.description = "Fast melee unit which can phase through other units.";
this.hp = 250;
this.shields = 0;
this.armor = 0;
this.armorType = "light";
this.speed = 700;
this.supply = 2;
this.turnSpeed = 5000;
this.vision = 1600;
this.pushability = 1;
this.createdBy = ["coop/mercenary/endari/building/coop-silent-hollow"];
this.attacks.unmakingBlade = new Attack({
internalId: "Default__Weapon_Endari_Shade_C",
name: "Unmaking Blade",
damage: 20,
range: 160,
cooldown: 0.9,
armorPenetration: 0,
delay: 0.11,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default CoopEndariShade;