UNPKG

@zerospacegg/iolin

Version:

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

50 lines 1.95 kB
"use strict"; /** * Guardian Obelisk - Temporary defensive structure * Sacred defensive turret that provides protection for a limited time */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.GuardianObelisk = void 0; const ability_js_1 = require("../../../../engine/ability.cjs"); const legion_classes_js_1 = require("../../legion-classes.cjs"); const legion_barracks_js_1 = __importDefault(require("../building/legion-barracks.cjs")); const legion_build_drone_js_1 = __importDefault(require("../unit/legion-build-drone.cjs")); class GuardianObelisk extends legion_classes_js_1.LegionSpecialBuilding { constructor() { super(); this.name = "Guardian Obelisk"; this.tier = ""; this.hexiteCost = 75; this.fluxCost = 0; this.buildTime = 10; this.buildCount = 1; this.timedLife = 150; this.uuid = "3135ef12-8504-4ca5-b20a-6cd651a7d4a7"; // Temporary defensive structure stats this.hp = 500; this.armor = 0; this.armorType = "building"; this.speed = 0; // Defensive turret attack this.attacks.cannon = new ability_js_1.Attack({ name: "Attack", damage: 50, cooldown: 1.5, range: 1600, targets: ["air", "ground"], parentId: this.id, parentUUID: this.uuid, }); // Relationships this.createdBy = [legion_build_drone_js_1.default.id]; this.unlockedBy = [legion_barracks_js_1.default.id]; // Lore - temporary sacred fortification } } exports.GuardianObelisk = GuardianObelisk; GuardianObelisk.src = "src/zerospace/faction/legion/building/guardian-obelisk.ts"; exports.default = GuardianObelisk; //# sourceMappingURL=guardian-obelisk.js.map