UNPKG

@zerospacegg/iolin

Version:

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

49 lines 1.72 kB
"use strict"; /** * Healing Obelisk - Temporary healing structure * Sacred restorative structure that channels divine healing energy */ Object.defineProperty(exports, "__esModule", { value: true }); exports.HealingObelisk = void 0; const ability_js_1 = require("../../../../engine/ability.cjs"); const legion_js_1 = require("../../../../defaults/legion.cjs"); class HealingObelisk extends legion_js_1.LegionSpecialBuilding { // Readonly properties constructor() { super(); this.hexiteCost = 75; this.fluxCost = 0; this.buildTime = 10; this.buildCount = 1; this.timedLife = 150; this.name = "Healing Obelisk"; this.tier = ""; this.uuid = "16e2eedc-8ac9-4c1c-a50d-623230d0f4b7"; // Temporary healing structure stats this.hp = 500; this.armor = 0; this.armorType = "building"; this.speed = 0; this.energy = 100; // Divine healing ability this.heals.divineHeal = new ability_js_1.Heal({ name: "Heal", healing: 20, cooldown: 0.5, range: 800, energyCost: 4, energyType: "classic", targets: ["air", "ground"], parentId: this.id, parentUUID: this.uuid, }); // Relationships this.createdBy = ["faction/legion/unit/legion-build-drone"]; this.unlockedBy = ["faction/legion/building/legion-barracks"]; // Lore - divine healing beacon } } exports.HealingObelisk = HealingObelisk; HealingObelisk.src = "src/zerospace/faction/legion/building/healing-obelisk.ts"; exports.default = HealingObelisk; //# sourceMappingURL=healing-obelisk.js.map