ZSGG Public Library
Endari Impaler
Endari Alternate Form Unit
import { EndariAlternateFormUnit } from "../../../../defaults/endari.js";
import { Attack } from "../../../../engine/ability.js";
export class EndariImpaler extends EndariAlternateFormUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/endari/unit/endari-impaler.ts";
constructor() {
super();
this.name = "Endari Impaler";
this.description = "Alternate form of She Who Stalks. Lasts 20 seconds.";
this.wikiDescription = "Transformed form of [[mercenary/endari/hero/she-who-stalks]]. Lasts 20 seconds.";
this.tier = "";
this.uuid = "09ac0556-a735-451b-833e-7e03bcfdbc49";
// Impaler is a temporary form of She Who Stalks in-game, so it shares the hero's internal identity.
this.internalId = "Troop_MPHero_Endari_C";
this.internalPath = "/Game/Nova/Archetypes_Heroes/Troop_MPHero_Endari.Default__Troop_MPHero_Endari_C";
this.internalTags = [
"Attackable.Unit.Hero",
"Logic.SpawnAtOldestSpawner",
"Attackable.Biological",
"Logic.NoVeterancy",
"Local.Endari",
];
this.internalSecondaryTags = ["Biological", "Infantry"];
this.hp = 500;
this.shields = 0;
this.armor = 2;
this.armorType = "hero";
this.stunResist = 70;
this.speed = 500;
this.timedLife = 20;
this.transformsFrom = ["mercenary/endari/hero/she-who-stalks"];
this.attacks.hungeringLance = new Attack({
name: "Hungering Lance",
damage: 50,
cooldown: 1,
range: 200,
targets: ["ground"],
splash: { multiplier: 1, range: 100 },
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default EndariImpaler;