@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
45 lines • 1.62 kB
JavaScript
;
/**
* Sol Invictus - Ultimate nuclear deterrent walking weapons platform
* Massive unit with devastating death explosion
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.SolInvictus = void 0;
const ability_js_1 = require("../../../../engine/ability.cjs");
const protectorate_js_1 = require("../../../../defaults/protectorate.cjs");
class SolInvictus extends protectorate_js_1.ProtectorateUltimateUnit {
constructor() {
super();
this.name = "Sol Invictus";
this.tier = "T4";
this.uuid = "d395055e-d904-475b-b973-ca017baf94bd";
this.hp = 3000;
this.armorType = "heavy";
this.speed = 380;
this.attacks.dualCannon = new ability_js_1.Attack({
name: "Attack",
damage: 40,
volleys: 2,
cooldown: 0.5,
range: 180,
targets: ["ground"],
splash: { multiplier: 5.0, range: 50 },
parentId: this.id,
parentUUID: this.uuid,
});
this.onDeath.nuke = new ability_js_1.DeathTrigger({
name: "Nuke",
description: "Explodes on death after a short delay. Explosion radius is 1000",
damage: 1385,
delay: 1,
splash: { multiplier: 1.0, range: 1000 },
});
// Functional tags only
this.tag("massive");
}
}
exports.SolInvictus = SolInvictus;
// Static property for source path
SolInvictus.src = "src/zerospace/faction/protectorate/unit/sol-invictus.ts";
exports.default = SolInvictus;
//# sourceMappingURL=sol-invictus.js.map