ZSGG Public Library
Cha'Kru Hat'un
Chakru Co-Op T3 Merc Unit
import { ChakruMercUnit } from "../../../../../defaults/chakru.js";
import { Attack, Spell } from "../../../../../engine/ability.js";
class CoopChakruHatun extends ChakruMercUnit {
override uuid: string;
static override src = "src/zerospace/coop/mercenary/chakru/unit/coop-chakru-hatun.ts";
constructor() {
super();
this.hexiteCost = 200;
this.fluxCost = 175;
// 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 = "54de4929-51d4-4dc5-a1b6-9821bc03d009";
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 = 3;
this.armorType = "heavy";
this.speed = 625;
this.supply = 7;
this.turnSpeed = 3000;
this.createdBy = ["coop/mercenary/chakru/building/coop-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: 200,
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 CoopChakruHatun;