ZSGG Public Library
Cha'Kru Hatun
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 = 100;
this.fluxCost = 225;
// Fix: Movement Speed - set later in mutable properties section
this.name = "Cha'Kru Hatun";
this.tier = "T3";
this.hotkey = "";
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",
];
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 = "Hatun";
this.hp = 1000;
this.shields = 0;
this.armor = 2;
this.armorType = "heavy";
this.speed = 625;
this.supply = 7;
this.turnSpeed = 3000;
this.createdBy = ["mercenary/chakru/building/chakru-temple-of-water"!];
this.unlockedBy = ["mercenary/chakru/building/chakru-temple-of-water"!];
this.attacks.riftBreaker = new Attack({
name: "Rift Breaker",
damage: 100,
cooldown: 1.52,
armorPenetration: 0,
delay: 0.2,
range: 100,
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;