ZeroSpace.gg

Healing Obelisk

Legion Special Building

import { LegionSpecialBuilding } from "../../../../defaults/legion.js"; import { Heal } from "../../../../engine/ability.js"; export class HealingObelisk extends LegionSpecialBuilding { override uuid: string; static override src = "src/zerospace/faction/legion/building/healing-obelisk.ts"; constructor() { super(); this.hexiteCost = 75; this.fluxCost = 0; this.buildTime = 10; this.buildCount = 1; this.timedLife = 150; this.name = "Healing Obelisk"; this.description = "Heals friendly units. \nConsumes energy to heal more."; this.tier = ""; this.uuid = "16e2eedc-8ac9-4c1c-a50d-623230d0f4b7"; this.hp = 500; this.armor = 0; this.armorType = "building"; this.speed = 0; this.energy = 100; 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, }); this.createdBy = ["faction/legion/unit/legion-build-drone"]; this.unlockedBy = ["faction/legion/building/legion-barracks"]; } } export default HealingObelisk;