@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
58 lines • 2.4 kB
JavaScript
"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 marran_js_1 = require("../../../../defaults/marran.cjs");
const ability_js_1 = require("../../../../engine/ability.cjs");
class MarranBadger extends marran_js_1.MarranMercUnit {
constructor() {
super();
// Auto-generated fixes from dev data comparison
this.hexiteCost = 200;
this.fluxCost = 150;
this.buildCount = 3;
this.name = "Marran Badger";
this.tier = "T2";
this.internalId = "Troop_Marran_Badger_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Marran_Badger.Default__Troop_Marran_Badger_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Heavy"];
this.internalSecondaryTags = ["Vehicle"];
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;
this.turnSpeed = 1000;
this.pushability = 0.45;
// Relationships
this.createdBy = ["mercenary/marran/building/marran-merc-outpost"];
this.unlockedBy = ["mercenary/marran/building/marran-merc-outpost"];
// Anti-air capable attack system
this.attacks.attack = new ability_js_1.Attack({
name: "Attack",
damage: 16,
cooldown: 1.7,
cooldownBetweenShots: 1.7,
armorPenetration: 0,
delay: 0.1,
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