@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
77 lines • 3.11 kB
JavaScript
"use strict";
/**
* Cha'Kru Rageborn - Bio-energetic berserker with ABES combat enhancement system
* T2 earth-aligned warrior whose fury builds destructive power through combat
*/
Object.defineProperty(exports, "__esModule", { value: true });
const chakru_js_1 = require("../../../../defaults/chakru.cjs");
const ability_js_1 = require("../../../../engine/ability.cjs");
class ChakruRageborn extends chakru_js_1.ChakruMercUnit {
constructor() {
super();
// Auto-generated fixes from dev data comparison
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 = ["Infantry"];
this.uuid = "46aa198b-12c3-4bf9-a64b-73944c0aefc1";
this.description = "Slams ground every 4th attack - damaging and slowing nearby enemy units.";
// Mutable properties (can be modified by upgrades)
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;
// Relationships
this.createdBy = ["mercenary/chakru/building/chakru-temple-of-earth"];
this.unlockedBy = ["mercenary/chakru/building/chakru-temple-of-earth"];
// Primary melee attack - Primal fury strikes
this.attacks.attack = new ability_js_1.Attack({
name: "Attack",
damage: 50,
cooldown: 1.8,
cooldownBetweenShots: 0.5,
armorPenetration: 0,
delay: 0.15,
range: 200,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
// Stomp attack - ABES powered area damage
this.attacks.stomp = new ability_js_1.Attack({
name: "Stomp",
hotkey: "",
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,
});
}
}
// Static property for source path
ChakruRageborn.src = "src/zerospace/mercenary/chakru/unit/chakru-rageborn.ts";
exports.default = ChakruRageborn;
//# sourceMappingURL=chakru-rageborn.js.map