UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

40 lines 1.35 kB
/** * Monolith - Legion ultimate building * Temporary ultimate defensive structure with devastating firepower */ import { Attack } from "../../../../engine/ability.js"; import { LegionUltimateBuilding } from "../../legion-classes.js"; export class Monolith extends LegionUltimateBuilding { constructor() { super(); this.name = "Monolith"; this.tier = "ultimate"; this.hexiteCost = 500; this.fluxCost = 0; this.buildTime = 30; this.buildCount = 1; this.timedLife = 45; this.uuid = "c31d26d5-09d9-41a6-a5be-1b27059361ee"; // Ultimate defensive structure stats this.hp = 2500; 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.6, 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