ZSGG Public Library
Guardian Obelisk
Legion Special Building
import { LegionSpecialBuilding } from "../../../../defaults/legion.js";
import { Attack } from "../../../../engine/ability.js";
export class GuardianObelisk extends LegionSpecialBuilding {
override uuid: string;
static override src = "src/zerospace/faction/legion/building/guardian-obelisk.ts";
constructor() {
super();
this.hexiteCost = 190;
this.fluxCost = 0;
this.buildTime = 25;
this.buildCount = 1;
this.timedLife = 150;
this.name = "Guardian Obelisk";
this.description = "A defensive structure. \nConsumes energy to deal bonus damage.";
this.tier = "";
this.internalId = "Building_Legion_Obelisk_Defensive_C";
this.internalPath =
"/Game/Nova/Archetypes_Buildings/Building_Legion_Obelisk_Defensive.Default__Building_Legion_Obelisk_Defensive_C";
this.internalTags = [
"Attackable.Building.Anorganic",
"Building.NoContructionCompleteSound",
"Building.Legion.Obelisk",
];
this.uuid = "3135ef12-8504-4ca5-b20a-6cd651a7d4a7";
this.hp = 400;
this.armor = 0;
this.armorType = "building";
this.speed = 0;
this.attacks.cannon = new Attack({
name: "Attack",
damage: 50,
cooldown: 1.5,
armorPenetration: 0,
delay: 0,
range: 1600,
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 GuardianObelisk;