UNPKG

@zerospacegg/iolin

Version:

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

37 lines 1.27 kB
/** * Sacrificial Site - Sacred healing altar * Hero-created structure that restores Legion forces through divine blessing */ import { Heal } from "../../../../engine/ability.js"; import { LegionSpecialBuilding } from "../../legion-classes.js"; import Galavax from "../hero/galavax.js"; export class SacrificialSite extends 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.id]; // Continuous healing ability this.heals.heal = new Heal({ name: "Heal", healing: 15, cooldown: 1, parentId: this.id, parentUUID: this.uuid, }); // Lore - hero-created sacred healing } } SacrificialSite.src = "src/zerospace/faction/legion/building/sacrificial-site.ts"; export default SacrificialSite; //# sourceMappingURL=sacrificial-site.js.map