UNPKG

@zerospacegg/iolin

Version:

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

71 lines 2.91 kB
/** * 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 */ import { Attack, Spell } from "../../../../engine/ability.js"; import { ValkaruHeroUnit } from "../../valkaru-classes.js"; import ValkaruMercOutpost from "../building/valkaru-merc-outpost.js"; class Mondar extends 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 = [ValkaruMercOutpost.id]; this.unlockedBy = [ValkaruMercOutpost.id]; // Precision Gun attack - starts with this (ranged air/ground support) this.attacks.precisionGun = new 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 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 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"; export default Mondar; //# sourceMappingURL=mondar.js.map