ZSGG Public Library
Ritual Site
Legion Ultimate Special Building
import { Spell } from "../../../../engine/ability.js";
import { LegionSpecialBuilding } from "../../../../defaults/legion.js";
import type { Tier } from "../../../../engine/core.js";
export class RitualSite extends LegionSpecialBuilding {
override uuid: string;
static override src = "src/zerospace/faction/legion/building/ritual-site.ts";
constructor() {
super();
this.hexiteCost = 300;
this.fluxCost = 0;
this.buildTime = 35;
this.buildCount = 1;
this.name = "Ritual Site";
this.tier = "ultimate";
this.uuid = "33afa5f5-6eee-43e6-9312-94c5daddcf29";
this.hp = 1000;
this.armor = 2;
this.armorType = "building";
this.speed = 0;
this.creates = ["faction/legion/unit/emperor-projection"];
this.unlocks = ["faction/legion/unit/emperor-projection"];
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.",
wikiDescription:
"After 40 seconds, spawns an [[faction/legion/unit/emperor-projection]], then destroys itself. Each supply of [[faction/legion/unit/thrall]] sacrificed within range of the Ritual Site, up to 30 supply, grants the Emperor +50 HP and +5 attack damage.",
delay: 40,
targets: [],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default RitualSite;