@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
53 lines • 2.01 kB
JavaScript
"use strict";
/**
* Healing Obelisk - Temporary healing structure
* Sacred restorative structure that channels divine healing energy
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.HealingObelisk = void 0;
const ability_js_1 = require("../../../../engine/ability.cjs");
const legion_classes_js_1 = require("../../legion-classes.cjs");
const legion_barracks_js_1 = __importDefault(require("../building/legion-barracks.cjs"));
const legion_build_drone_js_1 = __importDefault(require("../unit/legion-build-drone.cjs"));
class HealingObelisk extends legion_classes_js_1.LegionSpecialBuilding {
constructor() {
super();
this.name = "Healing Obelisk";
this.tier = "";
this.hexiteCost = 75;
this.fluxCost = 0;
this.buildTime = 10;
this.buildCount = 1;
this.timedLife = 150;
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 = [legion_build_drone_js_1.default.id];
this.unlockedBy = [legion_barracks_js_1.default.id];
// 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