ZSGG Public Library
Cha'Kru Hat'un
Chakru T3 Merc Unit
import { ChakruMercUnit } from "../../../../defaults/chakru.js";
import { Attack, Spell } from "../../../../engine/ability.js";
class ChakruHatun extends ChakruMercUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/chakru/unit/chakru-hatun.ts";
constructor() {
super();
this.hexiteCost = 125;
this.fluxCost = 200;
// Fix: Movement Speed - set later in mutable properties section
this.name = "Cha'Kru Hat'un";
this.tier = "T3";
this.hotkey = "C";
this.internalId = "Troop_Kingdom_CannibalShrimp_C";
this.internalPath =
"/Game/Nova/Archetypes_Troops/Troop_Kingdom_CannibalShrimp.Default__Troop_Kingdom_CannibalShrimp_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.ArmorType.Heavy",
"Attackable.Biological",
"Attackable.Unit.Chakru.B",
"Attackable.Beast",
];
this.internalSecondaryTags = ["Biological"];
this.uuid = "68118f93-d0cc-457c-bbc2-e3e3802075b6";
this.description = "Large melee unit that can create a Rift preventing unit movement.";
this.shortName = "Hat'un";
this.hp = 1000;
this.stunResist = 50;
this.shields = 0;
this.armor = 1;
this.armorType = "heavy";
this.speed = 625;
this.supply = 7;
this.turnSpeed = 3000;
this.createdBy = ["mercenary/chakru/building/chakru-temple-of-stars"!];
this.attacks.riftBreaker = new Attack({
internalId: "Default__Weapon_KingdomWurm_C",
name: "Rift Breaker",
damage: 65,
cooldown: 1,
armorPenetration: 0,
delay: 0.26,
range: 110,
targets: ["ground"],
description: "Devastating melee strikes powered by dimensional blood magic",
parentId: this.id,
parentUUID: this.uuid,
});
this.spells.rift = new Spell({
name: "Rift",
hotkey: "R",
cooldown: 50,
delay: 0.44,
range: 800,
targets: ["ground"],
duration: 8,
description: "Create a rift that pushes all units away and creates unpathable area for 8 seconds.",
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default ChakruHatun;