ZeroSpace.gg

Idal Conduit

Legion Co-Op T0 Supply Building

import { LegionSupplyBuilding } from "../../../../../defaults/legion.js"; import { Spell } from "../../../../../engine/ability.js"; import { Turret } from "../../../../../engine/turret.js"; export class CoopGalavaxIdalConduit extends LegionSupplyBuilding { static override src = "src/zerospace/coop/commander/galavax/building/coop-galavax-idal-conduit.ts"; constructor() { super(); this.uuid = "6e623dfa-54c9-4f63-9989-2077455316db"; this.hexiteCost = 75; this.fluxCost = 0; this.buildTime = 12; this.buildCount = 1; this.name = "Idal Conduit"; this.description = `Provides ${this.providesSupply} Supply. \nRecharges Energy of nearby units.`; this.tier = "T0"; this.hp = 500; this.armor = 1; this.armorType = "building"; this.speed = 0; this.energy = 100; this.createdBy = ["coop/commander/galavax/unit/coop-galavax-legion-build-drone"]; this.unlockedBy = ["coop/commander/galavax/building/coop-galavax-garrison-tower"]; this.unlocks = [ "coop/commander/galavax/building/coop-galavax-legion-barracks", "faction/legion/building/beastiary", ]; this.spells.energyRestoration = new Spell({ name: "Energy Restoration", description: "Restores 10 energy to target", cooldown: 1, energyCost: 10, energyType: "classic", targets: [], forceAutocast: true, parentId: this.id, parentUUID: this.uuid, }); this.internalId = "Building_Galavax_Supply_C"; this.createdBy = ["coop/commander/galavax/unit/coop-galavax-legion-build-drone"]; this.unlockedBy = ["coop/commander/galavax/building/coop-galavax-garrison-tower"]; this.unlocks = ["coop/commander/galavax/building/coop-galavax-legion-barracks"]; this.maxTurrets = 1; this.turrets.consecratedIdalConduit = new Turret({ name: "Consecrated Idal Conduit", description: "Idal Conduits can be upgraded to generate a small amount of faction power over time. Each upgrade costs 5 more Hexite and Flux than the previous one.", hexiteCost: 30, fluxCost: 30, buildTime: 10, hp: 700, }); } } export default CoopGalavaxIdalConduit;