UNPKG

@zerospacegg/iolin

Version:

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

52 lines 2.06 kB
"use strict"; /** * Cha'Kru Clackjaw - Ritualistic berserker warrior with blood magic enhanced chitinous armor * Heavy armored warrior who transforms combat into sacred ritual */ 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_water_js_1 = __importDefault(require("../building/chakru-temple-of-water.cjs")); class ChakruClackjaw extends chakru_classes_js_1.ChakruMercUnit { constructor() { super(); this.name = "Cha'Kru Clackjaw"; this.tier = "T1"; this.hotkey = ""; this.hexiteCost = 225; this.fluxCost = 0; this.buildTime = 30; this.buildCount = 2; this.uuid = "b61d73d5-71a6-469a-b41e-1e9f2f4855ae"; this.description = "Tanky armored unit which reduces incoming damage by 4."; // Mutable properties (can be modified by upgrades) this.shortName = "Clackjaw"; this.hp = 270; this.shields = 0; this.armor = 5; this.armorType = "heavy"; this.speed = 500; this.supply = 3; // TODO: Convert to getter - this.infuseCost = 6; // Relationships this.createdBy = [chakru_temple_of_water_js_1.default.id]; this.unlockedBy = [chakru_temple_of_water_js_1.default.id]; // Primary attack - Mandible claws this.attacks.attack = new ability_js_1.Attack({ name: "Attack", damage: 18, cooldown: 0.65, range: 140, targets: ["ground"], parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path ChakruClackjaw.src = "src/zerospace/mercenary/chakru/unit/chakru-clackjaw.ts"; exports.default = ChakruClackjaw; //# sourceMappingURL=chakru-clackjaw.js.map