UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

61 lines 2.35 kB
/** * Cha'Kru Rageborn - Bio-energetic berserker with ABES combat enhancement system * T2 earth-aligned warrior whose fury builds destructive power through combat */ import { Attack } from "../../../../engine/ability.js"; import { ChakruMercUnit } from "../../chakru-classes.js"; import ChakruTempleOfEarth from "../building/chakru-temple-of-earth.js"; class ChakruRageborn extends ChakruMercUnit { constructor() { super(); this.name = "Cha'Kru Rageborn"; this.tier = "T2"; this.hotkey = ""; this.hexiteCost = 225; this.fluxCost = 125; this.buildTime = 45; this.buildCount = 2; 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 = 4; // Relationships this.createdBy = [ChakruTempleOfEarth.id]; this.unlockedBy = [ChakruTempleOfEarth.id]; // Primary melee attack - Primal fury strikes this.attacks.attack = new Attack({ name: "Attack", damage: 50, cooldown: 1.8, range: 200, targets: ["ground"], parentId: this.id, parentUUID: this.uuid, }); // Stomp attack - ABES powered area damage this.attacks.stomp = new 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"; export default ChakruRageborn; //# sourceMappingURL=chakru-rageborn.js.map