UNPKG

@zerospacegg/iolin

Version:

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

57 lines 2.42 kB
"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 marran_js_1 = require("../../../../defaults/marran.cjs"); const ability_js_1 = require("../../../../engine/ability.cjs"); class MarranHoverTank extends marran_js_1.MarranMercUnit { constructor() { super(); this.hexiteCost = 200; this.fluxCost = 0; this.buildCount = 2; this.name = "Marran Hover Tank"; this.tier = "T1"; this.internalId = "Troop_MarranHoverTank_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_MarranHoverTank.Default__Troop_MarranHoverTank_C"; this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Medium"]; this.internalSecondaryTags = ["Vehicle"]; 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 = 800; // Extremely fast for rapid response this.turnSpeed = 10000; this.pushability = 0.45; // TODO: Convert to getter - this.infuseCost = 5; // Relationships this.createdBy = ["mercenary/marran/building/marran-merc-outpost"]; this.unlockedBy = ["mercenary/marran/building/marran-merc-outpost"]; // Abilities using direct constructors this.attacks.attack = new ability_js_1.Attack({ name: "Attack", damage: 11, cooldown: 0.6, cooldownBetweenShots: 0.6, armorPenetration: 0, delay: 0.01, 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