@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
49 lines • 1.83 kB
JavaScript
"use strict";
/**
* Idal Conduit - Divine energy relay building
* Sacred power source that channels divine energy and restores Legion forces
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.IdalConduit = void 0;
const legion_js_1 = require("../../../../defaults/legion.cjs");
const ability_js_1 = require("../../../../engine/ability.cjs");
class IdalConduit extends legion_js_1.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 ability_js_1.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
}
}
exports.IdalConduit = IdalConduit;
IdalConduit.src = "src/zerospace/faction/legion/building/idal-conduit.ts";
exports.default = IdalConduit;
//# sourceMappingURL=idal-conduit.js.map