UNPKG

@zerospacegg/iolin

Version:

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

48 lines 1.77 kB
/** * Idal Conduit - Divine energy relay building * Sacred power source that channels divine energy and restores Legion forces */ import { Spell } from "../../../../engine/ability.js"; import { LegionSupplyBuilding } from "../../legion-classes.js"; import Beastiary from "../building/beastiary.js"; import GarrisonTower from "../building/garrison-tower.js"; import LegionBarracks from "../building/legion-barracks.js"; import LegionBuildDrone from "../unit/legion-build-drone.js"; export class IdalConduit extends LegionSupplyBuilding { constructor() { super(); this.name = "Idal Conduit"; this.tier = "T0"; this.hexiteCost = 100; this.fluxCost = 0; this.buildTime = 15; this.buildCount = 1; this.uuid = "a0b13c3f-9189-4552-8583-923e45d95b54"; // Divine energy relay stats this.hp = 700; this.armor = 1; this.armorType = "building"; this.speed = 0; this.energy = 100; // Relationships this.createdBy = [LegionBuildDrone.id]; this.unlockedBy = [GarrisonTower.id]; this.unlocks = [LegionBarracks.id, Beastiary.id]; // 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