UNPKG

@zerospacegg/iolin

Version:

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

40 lines 1.64 kB
/** * Ritual Site - Sacred ceremonial structure * Divine altar that summons projections of the Emperor through sacrifice */ import { Spell } from "../../../../engine/ability.js"; import { LegionSpecialBuilding } from "../../legion-classes.js"; import EmperorProjection from "../unit/emperor-projection.js"; export class RitualSite extends LegionSpecialBuilding { constructor() { super(); this.name = "Ritual Site"; this.tier = "ultimate"; this.hexiteCost = 300; this.fluxCost = 0; this.buildTime = 35; this.buildCount = 1; this.uuid = "33afa5f5-6eee-43e6-9312-94c5daddcf29"; // Sacred ceremonial structure stats this.hp = 1000; this.armor = 2; this.armorType = "building"; this.speed = 0; // Emperor projection summoning this.creates = [EmperorProjection.id]; this.unlocks = [EmperorProjection.id]; // Ultimate sacrificial ritual ability this.spells.spawnEmperor = new Spell({ name: "Spawn Emperor", description: "After 40s spawns a projection of the Emperor, then destroys itself. Each supply of thralls sacrificed within range of the ritual site (up to 30 supply worth of thralls), grants +50HP and +5dmg to the summoned Emperor.", delay: 40, targets: [], parentId: this.id, parentUUID: this.uuid, }); // Lore - ultimate sacrificial manifestation } } RitualSite.src = "src/zerospace/faction/legion/building/ritual-site.ts"; export default RitualSite; //# sourceMappingURL=ritual-site.js.map