UNPKG

@zerospacegg/iolin

Version:

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

45 lines 1.67 kB
/** * Idal Conduit - Divine energy relay building * Sacred power source that channels divine energy and restores Legion forces */ import { LegionSupplyBuilding } from "../../../../defaults/legion.js"; import { Spell } from "../../../../engine/ability.js"; export class IdalConduit extends LegionSupplyBuilding { // Readonly properties constructor() { super(); this.hexiteCost = 75; this.fluxCost = 0; this.buildTime = 15; this.buildCount = 1; this.name = "Idal Conduit"; this.tier = "T0"; this.uuid = "a0b13c3f-9189-4552-8583-923e45d95b54"; // Divine energy relay stats this.hp = 650; this.armor = 1; this.armorType = "building"; this.speed = 0; this.energy = 100; // Relationships this.createdBy = ["faction/legion/unit/legion-build-drone"]; this.unlockedBy = ["faction/legion/building/garrison-tower"]; this.unlocks = ["faction/legion/building/legion-barracks", "faction/legion/building/beastiary"]; // Divine energy restoration ability 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, }); // Lore - divine energy conduit } } IdalConduit.src = "src/zerospace/faction/legion/building/idal-conduit.ts"; export default IdalConduit; //# sourceMappingURL=idal-conduit.js.map