@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
41 lines • 1.45 kB
JavaScript
/**
* Sol Invictus - Ultimate nuclear deterrent walking weapons platform
* Massive unit with devastating death explosion
*/
import { Attack, DeathTrigger } from "../../../../engine/ability.js";
import { ProtectorateUltimateUnit } from "../../../../defaults/protectorate.js";
export class SolInvictus extends 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 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 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");
}
}
// Static property for source path
SolInvictus.src = "src/zerospace/faction/protectorate/unit/sol-invictus.ts";
export default SolInvictus;
//# sourceMappingURL=sol-invictus.js.map