UNPKG

@zerospacegg/iolin

Version:

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

77 lines 3.08 kB
"use strict"; /** * Cha'Kru Hatun - Elite warrior-shaman with dimensional rift powers through Wurm Bonding ritual * Massive elite unit that can manipulate spatial dimensions through Leviathan blood mysticism */ Object.defineProperty(exports, "__esModule", { value: true }); const chakru_js_1 = require("../../../../defaults/chakru.cjs"); const ability_js_1 = require("../../../../engine/ability.cjs"); class ChakruHatun extends chakru_js_1.ChakruMercUnit { constructor() { super(); // Auto-generated fixes from dev data comparison this.hexiteCost = 100; this.fluxCost = 225; // Fix: Movement Speed - set later in mutable properties section // (speed: 625) this.name = "Cha'Kru Hatun"; this.tier = "T3"; this.hotkey = ""; 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", ]; this.internalSecondaryTags = []; this.uuid = "68118f93-d0cc-457c-bbc2-e3e3802075b6"; this.description = "Big melee unit that can create a Rift preventing unit movement."; // Mutable properties (can be modified by upgrades) this.shortName = "Hatun"; this.hp = 1000; this.shields = 0; this.armor = 2; this.armorType = "heavy"; this.speed = 625; this.supply = 7; this.turnSpeed = 3000; // TODO: Convert to getter - this.infuseCost = 20; // Relationships this.createdBy = ["mercenary/chakru/building/chakru-temple-of-water"]; this.unlockedBy = ["mercenary/chakru/building/chakru-temple-of-water"]; // Primary attack - Massive melee strike this.attacks.attack = new ability_js_1.Attack({ name: "Attack", damage: 100, cooldown: 1.52, cooldownBetweenShots: 0.5, armorPenetration: 0, delay: 0.2, range: 110, targets: ["ground"], description: "Devastating melee strikes powered by dimensional blood magic", parentId: this.id, parentUUID: this.uuid, }); // Rift spell - Dimensional manipulation this.spells.rift = new ability_js_1.Spell({ name: "Rift", hotkey: "R", cooldown: 50, delay: 0.44, range: 800, targets: ["ground"], duration: 7, description: "Create a rift that pushes all units away and creates unpathable area for 7s", parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path ChakruHatun.src = "src/zerospace/mercenary/chakru/unit/chakru-hatun.ts"; exports.default = ChakruHatun; //# sourceMappingURL=chakru-hatun.js.map