@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
44 lines • 1.65 kB
JavaScript
"use strict";
/**
* Sacrificial Site - Sacred healing altar
* Hero-created structure that restores Legion forces through divine blessing
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SacrificialSite = void 0;
const ability_js_1 = require("../../../../engine/ability.cjs");
const legion_classes_js_1 = require("../../legion-classes.cjs");
const galavax_js_1 = __importDefault(require("../hero/galavax.cjs"));
class SacrificialSite extends legion_classes_js_1.LegionSpecialBuilding {
constructor() {
super();
this.name = "Sacrificial Site";
this.hexiteCost = 50;
this.fluxCost = 0;
this.buildTime = 15;
this.buildCount = 1;
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 = [galavax_js_1.default.id];
// 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