UNPKG

@zerospacegg/iolin

Version:

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

76 lines 3.26 kB
"use strict"; /** * Mondar - Twin warrior who starts with the precision gun (ranged air/ground support) * Spawns together with Torq, switches roles when hammer is received * Part of the legendary Valkaru twin hero duo that embodies coordinated destruction */ 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 valkaru_classes_js_1 = require("../../valkaru-classes.cjs"); const valkaru_merc_outpost_js_1 = __importDefault(require("../building/valkaru-merc-outpost.cjs")); class Mondar extends valkaru_classes_js_1.ValkaruHeroUnit { constructor() { super(); this.name = "Mondar"; this.hotkey = ""; this.hexiteCost = 0; this.fluxCost = 0; this.buildTime = 20; this.buildCount = 1; this.rebuildable = true; this.rebuildTime = 60; this.uuid = "e8c1002e-8d5f-49d2-9e38-5f9a44059f3b"; // Mutable properties (can be modified by upgrades) this.shortName = "Mondar"; this.hp = 280; this.shields = 0; this.armor = 0; this.armorType = "medium"; this.speed = 500; this.supply = 5; // Half of the original 10 supply (shared with Torq) // Relationships this.createdBy = [valkaru_merc_outpost_js_1.default.id]; this.unlockedBy = [valkaru_merc_outpost_js_1.default.id]; // Precision Gun attack - starts with this (ranged air/ground support) this.attacks.precisionGun = new ability_js_1.Attack({ name: "Precision Gun", damage: 8, cooldown: 1.2, range: 1200, targets: ["air", "ground"], description: "Accurate ranged weapon providing air and ground support with superior range and versatility", parentId: this.id, parentUUID: this.uuid, }); // Electrifying Hammer attack - gets this when hammer is caught from Torq this.attacks.electrifyingHammer = new ability_js_1.Attack({ name: "Electrifying Hammer", damage: 10, cooldown: 1.2, range: 150, targets: ["ground"], description: "Devastating melee strikes with mystical hammer that channels chain lightning between multiple enemies", parentId: this.id, parentUUID: this.uuid, }); // Hammer Catch ability - receives hammer from Torq (passive/reactive ability) this.spells.hammerCatch = new ability_js_1.Spell({ name: "Hammer Catch", hotkey: "", energyCost: 0, cooldown: 0, range: 0, targets: [], description: "Automatically catches the electrifying hammer when thrown by Torq, gaining enhanced melee combat capabilities and increased attack speed", parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path Mondar.src = "src/zerospace/mercenary/valkaru/hero/mondar.ts"; exports.default = Mondar; //# sourceMappingURL=mondar.js.map