ZSGG Public Library
Cha'Kru Rageborn
Chakru T2 Merc Unit
import { ChakruMercUnit } from "../../../../defaults/chakru.js";
import { Attack } from "../../../../engine/ability.js";
class ChakruRageborn extends ChakruMercUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/chakru/unit/chakru-rageborn.ts";
constructor() {
super();
this.hexiteCost = 112.5;
this.fluxCost = 62.5;
this.name = "Cha'Kru Rageborn";
this.tier = "T2";
this.hotkey = "";
this.internalId = "Troop_Kingdom_Rageborn_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Kingdom_Rageborn.Default__Troop_Kingdom_Rageborn_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.Unit.Light",
"Attackable.ArmorType.Medium",
"Logic.ABES",
"Attackable.Biological",
"Attackable.Unit.Chakru.A",
];
this.internalSecondaryTags = ["Biological", "Infantry"];
this.uuid = "46aa198b-12c3-4bf9-a64b-73944c0aefc1";
this.description = "Slams ground every 4th attack - damaging and slowing nearby enemy units.";
this.shortName = "Rageborn";
this.hp = 625;
this.shields = 0;
this.armor = 2;
this.armorType = "medium";
this.speed = 550;
this.supply = 3;
this.turnSpeed = 3000;
this.pushability = 0;
this.createdBy = ["mercenary/chakru/building/chakru-temple-of-earth"!];
this.unlockedBy = ["mercenary/chakru/building/chakru-temple-of-earth"!];
this.attacks.bloodSlam = new Attack({
name: "Blood Slam",
damage: 50,
cooldown: 1.8,
armorPenetration: 0,
delay: 0.15,
range: 200,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
this.attacks.stomp = new Attack({
name: "Stomp",
energyCost: 4,
energyType: "abes",
cooldown: 0,
damage: 25,
splash: { multiplier: 1.0, range: 375 },
targetMode: "around-self",
// @TODO: Add 4 second slow effect when engine supports statusEffect property in Attack type
description: "Explosive release of stored combat fury that shatters the ground and devastates nearby enemies",
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default ChakruRageborn;