UNPKG

@zerospacegg/iolin

Version:

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

52 lines 2.09 kB
"use strict"; /** * Cha'Kru Warrior - Swift blade-throwing fighter embodying centuries of ritual combat tradition * Earth-aligned warrior with supernatural speed and ancestral weapon mastery */ 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 ChakruWarrior extends chakru_classes_js_1.ChakruMercUnit { constructor() { super(); this.name = "Cha'Kru Warrior"; this.tier = "T1"; this.hotkey = ""; this.hexiteCost = 250; this.fluxCost = 0; this.buildTime = 30; this.buildCount = 2; this.uuid = "852c3449-fc4a-4e50-bc80-ec749d25ce04"; this.description = "Ranged warrior which moves faster out of combat. Attacks ground and air units."; // Mutable properties (can be modified by upgrades) this.shortName = "Warrior"; this.hp = 200; this.shields = 0; this.armor = 0; this.armorType = "light"; this.speed = 875; this.supply = 3; // Relationships this.createdBy = [chakru_temple_of_earth_js_1.default.id]; this.unlockedBy = [chakru_temple_of_earth_js_1.default.id]; // Knife Throw attack - Sacred ancestral weapons this.attacks.knifeThrow = new ability_js_1.Attack({ name: "Knife Throw", damage: 18, cooldown: 1.6, range: 1000, delay: 0.2, targets: ["ground", "air"], parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path ChakruWarrior.src = "src/zerospace/mercenary/chakru/unit/chakru-warrior.ts"; exports.default = ChakruWarrior; //# sourceMappingURL=chakru-warrior.js.map