ZeroSpace.gg

Citadel

Legion Co-Op T2.5 Tech Building

import { LegionTechBuilding } from "../../../../../defaults/legion.js"; import { Passive } from "../../../../../engine/ability.js"; export class CoopGalavaxCitadel extends LegionTechBuilding { static override src = "src/zerospace/coop/commander/galavax/building/coop-galavax-citadel.ts"; constructor() { super(); this.uuid = "0730d5fa-ff71-4ed6-b81f-3b2cbbe055ed"; this.hexiteCost = 125; this.fluxCost = 50; this.buildTime = 45; this.buildCount = 1; this.name = "Citadel"; this.description = "Unlocks Dark Disciples, Mammoths, and the last mercenary unit. \nThralls can be sacrificed on it to increase research speed by +50% fpr 30s."; this.tier = "T2.5"; this.unlocksMercTier = "T2"; this.hp = 2000; this.armor = 1; this.armorType = "building"; this.speed = 0; this.createdBy = ["coop/commander/galavax/unit/coop-galavax-legion-build-drone"]; this.unlockedBy = [ "coop/commander/galavax/building/coop-galavax-legion-barracks", "faction/legion/building/beastiary", ]; this.unlocks = [ "coop/commander/galavax/building/coop-galavax-terror-tower", "coop/commander/galavax/building/coop-galavax-armory", "faction/legion/building/altar", ]; this.providesUpgradesFor = [ "coop/commander/galavax/unit/coop-galavax-thrall", "coop/commander/galavax/unit/coop-galavax-steelsworn", "coop/commander/galavax/unit/coop-galavax-dark-disciple", "faction/legion/unit/exalted", "faction/legion/unit/mammoth", ]; this.passives.sacrificeThrall = new Passive({ name: "Sacrifice Thrall", description: "Sacrificing a Thrall reduces the research time of the Citadel", cooldown: 30, parentId: this.id, parentUUID: this.uuid, }); // Note: Buildings no longer produce units faster in Citadel's radius (engine-level change) this.internalId = "Building_Legion_Citadel_C"; this.createdBy = ["coop/commander/galavax/unit/coop-galavax-legion-build-drone"]; this.unlockedBy = ["coop/commander/galavax/building/coop-galavax-legion-barracks"]; this.unlocks = [ "coop/commander/galavax/building/coop-galavax-terror-tower", "coop/commander/galavax/building/coop-galavax-armory", ]; this.providesUpgradesFor = [ "coop/commander/galavax/unit/coop-galavax-thrall", "coop/commander/galavax/unit/coop-galavax-steelsworn", "coop/commander/galavax/unit/coop-galavax-dark-disciple", ]; } } export default CoopGalavaxCitadel;