@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
49 lines • 2.06 kB
JavaScript
"use strict";
/**
* Marran Hover Tank - T1 fast mobile platform with superior shields
* Mobile evolution of fortress world defensive philosophy
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.MarranHoverTank = 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 MarranHoverTank extends marran_classes_js_1.MarranMercUnit {
constructor() {
super();
this.name = "Marran Hover Tank";
this.tier = "T1";
this.buildCount = 2;
this.hexiteCost = 200;
this.fluxCost = 0;
this.uuid = "41898d3e-2574-42c6-94e8-87a7d9693f4a";
this.description = "Fast moving hovertank with fast recharging shields. Attacks ground and air units.";
// Set short name
this.shortName = "Hover Tank";
// Mutable properties - fast mobile platform with shield superiority
this.supply = 3;
this.hp = 100;
this.shields = 200; // Superior shield-to-hull ratio
this.armorType = "medium";
this.speed = 825; // Extremely fast for rapid response
// TODO: Convert to getter - this.infuseCost = 5;
// Relationships
this.createdBy = [marran_merc_outpost_js_1.MarranMercOutpostBuilding.id];
this.unlockedBy = [marran_merc_outpost_js_1.MarranMercOutpostBuilding.id];
// Abilities using direct constructors
this.attacks.attack = new ability_js_1.Attack({
name: "Attack",
damage: 11,
cooldown: 0.6,
range: 700,
targets: ["air", "ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
exports.MarranHoverTank = MarranHoverTank;
// Static property for source path
MarranHoverTank.src = "src/zerospace/mercenary/marran/unit/marran-hover-tank.ts";
exports.default = MarranHoverTank;
//# sourceMappingURL=marran-hover-tank.js.map