@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
90 lines (89 loc) • 4.3 kB
JavaScript
"use strict";
/**
* Marran Mercenary Faction
* Alien master snipers with defensive philosophy - precision over brute force
*
* Mercenary faction structure:
* - Two talents (Wisdom, Advanced Weaponry)
* - Four units (Hover Tank, Sharpshooter, Badger, Halo Tank)
* - One outpost building (Merc Outpost)
* - One hero (Hel)
* - One topbar (Pulse Barrage)
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Marran = exports.pulseBarrage = void 0;
const marran_js_1 = require("../../defaults/marran.cjs");
// Import Marran hero
// Import Marran units
// Import Marran buildings
// Talents will be created using Grell-style factory pattern in constructor
class PulseBarrageTopbar extends marran_js_1.MarranTopbar {
constructor() {
super();
this.description = "Fire a barrage to targetted location. Enemy units take damage and are slowed. 938 total damage in 14 shots, 67 dmg each.";
this.name = "Pulse Barrage";
this.description =
"Fire a barrage to targetted location. Enemy units take damage and are slowed. 938 total damage in 14 shots, 67 dmg each.";
this.uuid = "d98c11c6-24bc-4693-864a-426a70323be1";
this.name = "Marran";
this.uuid = "4b2e0e85-f876-4588-9b07-f0c55e74b104";
this.topbarType = "special";
this.slot = 5;
this.energyCost = 15;
this.cooldown = 60;
}
}
// Create Marran faction topbars
exports.pulseBarrage = new PulseBarrageTopbar();
// Create concrete Marran faction class
class Marran extends marran_js_1.MarranFaction {
constructor() {
super();
this.uuid = "8f4b2e1d-9c7a-4f3e-b8d6-2a5c9e7f1b4d";
this.name = "Marran";
// Mercenary faction settings
this.mercHeroesAllowed = true;
// Set talents using Grell-style factory pattern
this.talents.wisdom = new marran_js_1.MarranTalent({
uuid: "d203d42c-2e1c-49ca-9d04-da36b580627d",
name: "Wisdom",
level: 2,
description: "+40% XP Gain",
});
this.talents.combatEnhancement = new marran_js_1.MarranTalent({
uuid: "1f2e3d4c-5b6a-7980-8e7d-6c5b4a392817",
name: "Combat Enhancement",
level: 4,
description: "+15% attack speed and 20% max HP as shields",
});
this.talents.upgradeMothership = new marran_js_1.MarranTalent({
uuid: "2a3b4c5d-6e7f-8091-2a3b-4c5d6e7f8091",
name: "Upgrade Mothership",
level: 6,
description: "Mothership speed increased by 50%. Mothership generates +150 shield every 4 sec to nearby attacked ally. Unlocks Heavy Trooper.",
});
// Set topbars
this.topbars.pulseBarrage = exports.pulseBarrage;
// Set hero
this.heroes = ["mercenary/marran/hero/hel"];
// Set units
this.units = [
"mercenary/marran/unit/marran-hover-tank", // T1 fast mobile platform with shield superiority
"mercenary/marran/unit/marran-sharpshooter", // T1 precision sniper with firing position
"mercenary/marran/unit/marran-badger", // T2 heavy defensive unit with anti-air
"mercenary/marran/unit/marran-halo-tank", // T3 elite fortress with laser ability
"mercenary/marran/unit/marran-heavy-trooper", // T6 anti-heavy specialist
];
// Set outpost buildings
this.buildings = ["mercenary/marran/building/marran-merc-outpost"];
this.description = `
Alien master snipers who have perfected the art of defensive warfare through wisdom and patience. The Marran excel at long-range precision combat, shield technology, and tactical evolution through accelerated learning. Their advanced weaponry provides superior range and attack speed, while their wisdom grants enhanced experience gain. Operating with pulse barrage support, they create impenetrable defensive positions where precision overcomes brute force, making them invaluable guardians and nearly unstoppable when defending their chosen territories.
`;
}
}
exports.Marran = Marran;
// Static property for source path
Marran.src = "src/zerospace/mercenary/marran.ts";
// Export the faction as default
exports.default = Marran;
//# sourceMappingURL=marran.js.map