@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
41 lines • 1.46 kB
JavaScript
"use strict";
/**
* Sacrificial Site - Sacred healing altar
* Hero-created structure that restores Legion forces through divine blessing
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.SacrificialSite = void 0;
const ability_js_1 = require("../../../../engine/ability.cjs");
const legion_js_1 = require("../../../../defaults/legion.cjs");
class SacrificialSite extends legion_js_1.LegionSpecialBuilding {
// Readonly properties
constructor() {
super();
this.hexiteCost = 50;
this.fluxCost = 0;
this.buildTime = 15;
this.buildCount = 1;
this.name = "Sacrificial Site";
this.uuid = "7ef26777-d15e-4877-b5e9-7b9631f92aba";
// Sacred healing altar stats
this.hp = 150;
this.armor = 2;
this.armorType = "building";
this.speed = 0;
// Relationships - created by hero
this.createdBy = ["faction/legion/hero/galavax"];
// Continuous healing ability
this.heals.heal = new ability_js_1.Heal({
name: "Heal",
healing: 15,
cooldown: 1,
parentId: this.id,
parentUUID: this.uuid,
});
// Lore - hero-created sacred healing
}
}
exports.SacrificialSite = SacrificialSite;
SacrificialSite.src = "src/zerospace/faction/legion/building/sacrificial-site.ts";
exports.default = SacrificialSite;
//# sourceMappingURL=sacrificial-site.js.map