UNPKG

@zerospacegg/iolin

Version:

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

56 lines 2.2 kB
"use strict"; /** * Citadel - Legion T2.5 tech building and command center * Towering sacred cathedral that provides upgrades for all Legion forces */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Citadel = void 0; const legion_js_1 = require("../../../../defaults/legion.cjs"); const ability_js_1 = require("../../../../engine/ability.cjs"); class Citadel extends legion_js_1.LegionTechBuilding { constructor() { super(); this.hexiteCost = 125; this.fluxCost = 50; this.buildTime = 45; this.buildCount = 1; this.name = "Citadel"; this.tier = "T2.5"; this.unlocksMercTier = "T2"; this.uuid = "2765bb2b-a3d5-4afb-a2d7-ab95c5011e65"; // Command center stats this.hp = 2000; this.armor = 1; this.armorType = "building"; this.speed = 0; // Relationships this.createdBy = ["faction/legion/unit/legion-build-drone"]; this.unlockedBy = ["faction/legion/building/legion-barracks", "faction/legion/building/beastiary"]; this.unlocks = ["faction/legion/building/terror-tower", "faction/legion/building/armory"]; // Tech capabilities this.providesUpgradesFor = [ "faction/legion/unit/thrall", "faction/legion/unit/steelsworn", "faction/legion/unit/fanatic", "faction/legion/unit/exalted", "faction/legion/unit/mammoth", ]; // Sacrifice Thrall ability this.spells.sacrificeThrall = new ability_js_1.Spell({ name: "Sacrifice Thrall", description: "Sacrificing a Thrall reduces the research time of the Citadel", energyCost: 0, cooldown: 0, range: 0, targets: ["self"], parentId: this.id, parentUUID: this.uuid, }); // Note: Buildings no longer produce units faster in Citadel's radius (engine-level change) // Lore - towering cathedral command center } } exports.Citadel = Citadel; Citadel.src = "src/zerospace/faction/legion/building/citadel.ts"; exports.default = Citadel; //# sourceMappingURL=citadel.js.map