@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
52 lines • 1.94 kB
JavaScript
/**
* Monolith - Legion ultimate building
* Temporary ultimate defensive structure with devastating firepower
*/
import { LegionUltimateBuilding } from "../../../../defaults/legion.js";
import { Attack } from "../../../../engine/ability.js";
export class Monolith extends LegionUltimateBuilding {
constructor() {
super();
// Auto-generated fixes will be applied after the attack object is defined
this.hexiteCost = 635;
this.fluxCost = 0;
this.buildTime = 30;
this.buildCount = 1;
this.timedLife = 45;
this.name = "Monolith";
this.tier = "ultimate";
this.internalId = "Building_Legion_Monolith_C";
this.internalPath = "/Game/Nova/Archetypes_Buildings/Building_Legion_Monolith.Default__Building_Legion_Monolith_C";
this.internalTags = [
"Attackable.Building.Anorganic",
"Building.NoContructionCompleteSound",
"Logic.NoBonusDamageWhileConstructing",
"Building.Legion.Monolith",
];
this.uuid = "c31d26d5-09d9-41a6-a5be-1b27059361ee";
// Ultimate defensive structure stats
this.hp = 1750;
this.armor = 0;
this.armorType = "building";
this.speed = 0;
// Tags for identification and targeting
this.tag("massive");
// Devastating monolith attack against all enemy units
this.attacks.attack = new Attack({
name: "Attack",
damage: 60,
cooldown: 0.5,
cooldownBetweenShots: 0.5,
armorPenetration: 0,
delay: 0,
range: 1700,
targets: [],
parentId: this.id,
parentUUID: this.uuid,
});
// Lore - ultimate expression of architectural theology
}
}
Monolith.src = "src/zerospace/faction/legion/building/monolith.ts";
export default Monolith;
//# sourceMappingURL=monolith.js.map