UNPKG

@zerospacegg/iolin

Version:

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

48 lines 1.97 kB
"use strict"; /** * Marran Badger - T2 heavy defensive unit with anti-air capabilities * Foundational defensive unit that embodies Marran isolationist philosophy */ Object.defineProperty(exports, "__esModule", { value: true }); exports.MarranBadger = void 0; const ability_js_1 = require("../../../../engine/ability.cjs"); const marran_classes_js_1 = require("../../marran-classes.cjs"); const marran_merc_outpost_js_1 = require("../building/marran-merc-outpost.cjs"); class MarranBadger extends marran_classes_js_1.MarranMercUnit { constructor() { super(); this.name = "Marran Badger"; this.tier = "T2"; this.buildCount = 3; this.hexiteCost = 200; this.fluxCost = 150; this.uuid = "bd14c4a6-d658-4de0-9020-5e806f6ddd08"; this.description = "Medium tank which deals bonus area damage after attacking a target 6 times. Attacks ground and air units."; // Set short name this.shortName = "Badger"; // Mutable properties - heavy defensive platform with dual-layer protection this.supply = 3; this.hp = 175; this.shields = 175; // Dual-layer protection system this.armorType = "heavy"; this.speed = 450; // Relationships this.createdBy = [marran_merc_outpost_js_1.MarranMercOutpostBuilding.id]; this.unlockedBy = [marran_merc_outpost_js_1.MarranMercOutpostBuilding.id]; // Anti-air capable attack system this.attacks.attack = new ability_js_1.Attack({ name: "Attack", damage: 16, cooldown: 1.7, range: 1300, targets: ["air", "ground"], parentId: this.id, parentUUID: this.uuid, }); } } exports.MarranBadger = MarranBadger; // Static property for source path MarranBadger.src = "src/zerospace/mercenary/marran/unit/marran-badger.ts"; exports.default = MarranBadger; //# sourceMappingURL=marran-badger.js.map