@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
47 lines • 2.01 kB
JavaScript
"use strict";
/**
* Ritual Site - Sacred ceremonial structure
* Divine altar that summons projections of the Emperor through sacrifice
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.RitualSite = void 0;
const ability_js_1 = require("../../../../engine/ability.cjs");
const legion_classes_js_1 = require("../../legion-classes.cjs");
const emperor_projection_js_1 = __importDefault(require("../unit/emperor-projection.cjs"));
class RitualSite extends legion_classes_js_1.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 = [emperor_projection_js_1.default.id];
this.unlocks = [emperor_projection_js_1.default.id];
// Ultimate sacrificial ritual ability
this.spells.spawnEmperor = new ability_js_1.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
}
}
exports.RitualSite = RitualSite;
RitualSite.src = "src/zerospace/faction/legion/building/ritual-site.ts";
exports.default = RitualSite;
//# sourceMappingURL=ritual-site.js.map