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 Umbra. Lasts 20 seconds.";
this.wikiDescription = "Transformed form of [[mercenary/endari/hero/umbra]]. Lasts 20 seconds.";
this.tier = "";
this.uuid = "09ac0556-a735-451b-833e-7e03bcfdbc49";
// Impaler is a temporary transformed form of Umbra. In-game it reuses the hero's
// static object, so dev data can't distinguish it; the internal identity lives on
// Umbra and is intentionally omitted here.
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/umbra"];
this.attacks.hungeringLance = new Attack({
name: "Hungering Lance",
damage: 50,
cooldown: 1.5,
range: 200,
targets: ["ground"],
splash: { multiplier: 1, range: 100 },
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default EndariImpaler;