ZSGG Public Library
Idal Conduit
Legion T0 Supply Building
import { LegionSupplyBuilding } from "../../../../defaults/legion.js";
import { Spell } from "../../../../engine/ability.js";
export class IdalConduit extends LegionSupplyBuilding {
override uuid: string;
static override src = "src/zerospace/faction/legion/building/idal-conduit.ts";
constructor() {
super();
this.hexiteCost = 75;
this.fluxCost = 0;
this.buildTime = 15;
this.buildCount = 1;
this.name = "Idal Conduit";
this.description = `Provides ${this.providesSupply} Supply. \nRecharges Energy of nearby units.`;
this.tier = "T0";
this.uuid = "a0b13c3f-9189-4552-8583-923e45d95b54";
this.hp = 650;
this.armor = 1;
this.armorType = "building";
this.speed = 0;
this.energy = 100;
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"];
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,
});
}
}
export default IdalConduit;