UNPKG

@zerospacegg/iolin

Version:

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

66 lines 2.7 kB
"use strict"; /** * Cha'Kru Rageborn - Bio-energetic berserker with ABES combat enhancement system * T2 earth-aligned warrior whose fury builds destructive power through combat */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const ability_js_1 = require("../../../../engine/ability.cjs"); const chakru_classes_js_1 = require("../../chakru-classes.cjs"); const chakru_temple_of_earth_js_1 = __importDefault(require("../building/chakru-temple-of-earth.cjs")); class ChakruRageborn extends chakru_classes_js_1.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 = [chakru_temple_of_earth_js_1.default.id]; this.unlockedBy = [chakru_temple_of_earth_js_1.default.id]; // Primary melee attack - Primal fury strikes this.attacks.attack = new ability_js_1.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 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