@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
46 lines • 1.59 kB
JavaScript
/**
* Healing Obelisk - Temporary healing structure
* Sacred restorative structure that channels divine healing energy
*/
import { Heal } from "../../../../engine/ability.js";
import { LegionSpecialBuilding } from "../../legion-classes.js";
import LegionBarracks from "../building/legion-barracks.js";
import LegionBuildDrone from "../unit/legion-build-drone.js";
export class HealingObelisk extends LegionSpecialBuilding {
constructor() {
super();
this.name = "Healing Obelisk";
this.tier = "";
this.hexiteCost = 75;
this.fluxCost = 0;
this.buildTime = 10;
this.buildCount = 1;
this.timedLife = 150;
this.uuid = "16e2eedc-8ac9-4c1c-a50d-623230d0f4b7";
// Temporary healing structure stats
this.hp = 500;
this.armor = 0;
this.armorType = "building";
this.speed = 0;
this.energy = 100;
// Divine healing ability
this.heals.divineHeal = new Heal({
name: "Heal",
healing: 20,
cooldown: 0.5,
range: 800,
energyCost: 4,
energyType: "classic",
targets: ["air", "ground"],
parentId: this.id,
parentUUID: this.uuid,
});
// Relationships
this.createdBy = [LegionBuildDrone.id];
this.unlockedBy = [LegionBarracks.id];
// Lore - divine healing beacon
}
}
HealingObelisk.src = "src/zerospace/faction/legion/building/healing-obelisk.ts";
export default HealingObelisk;
//# sourceMappingURL=healing-obelisk.js.map