ZSGG Public Library
Warp Obelisk
Legion Co-Op Special Building
import { LegionSpecialBuilding } from "../../../../../defaults/legion.js";
import { Attack } from "../../../../../engine/ability.js";
export class CoopGalavaxWarpObelisk extends LegionSpecialBuilding {
override uuid: string;
static override src = "src/zerospace/coop/commander/galavax/building/coop-galavax-warp-obelisk.ts";
constructor() {
super();
this.uuid = "76e4835e-7eec-40c6-8b7c-3060e134fe4d";
this.name = "Warp Obelisk";
this.description =
"Teleports units to the other Warp Obelisk. Limited to two Warp Obelisks. Right click the Obelisk to send units through. Weak attack that stuns enemy units. Attack chains to +4 targets with -50% damage each hit.";
this.tier = "";
this.buildCount = 1;
this.hp = 700;
this.armor = 0;
this.armorType = "building";
this.speed = 0;
this.maxOwned = 2;
this.createdBy = ["faction/legion/topbar/spawn-obelisk"];
this.unlockedBy = ["faction/legion/topbar/spawn-obelisk"];
this.attacks.chainLightning = new Attack({
name: "Chain Lightning",
description: "Weak attack that stuns enemy units. Chains to +4 targets with -50% damage each hit.",
damage: 21,
cooldown: 1.5,
range: 1800,
targets: ["ground", "air"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default CoopGalavaxWarpObelisk;