ZSGG Public Library
Endari Shade
Endari T1 Merc Unit
import { EndariMercUnit } from "../../../../defaults/endari.js";
import { Attack } from "../../../../engine/ability.js";
class EndariShade extends EndariMercUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/endari/unit/endari-shade.ts";
constructor() {
super();
this.hexiteCost = 225;
this.fluxCost = 0;
this.buildCount = 3;
this.name = "Endari Shade";
this.tier = "T1";
this.hotkey = "";
// Retains its original UUID: this is the moved Arandi Shade (always an Endari unit in lore),
// not a brand-new entity.
this.uuid = "ec4d06c9-bedf-4ff4-a4d6-a8d52134a4c7";
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 = 225;
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 = [
"mercenary/endari/building/the-deep-one",
"mercenary/endari/unit/the-deep-one-night-mode",
];
this.unlockedBy = ["mercenary/endari/building/the-deep-one"];
this.attacks.lightlessBlade = new Attack({
name: "Lightless Blade",
damage: 22,
range: 200,
cooldown: 0.9,
armorPenetration: 0,
delay: 0.11,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default EndariShade;