ZSGG Public Library
Sol Invictus
Protectorate T4 Ultimate Unit
import { Attack, DeathTrigger } from "../../../../engine/ability.js";
import { ProtectorateUltimateUnit } from "../../../../defaults/protectorate.js";
import type { Tier } from "../../../../engine/core.js";
export class SolInvictus extends ProtectorateUltimateUnit {
override uuid: string;
static override src = "src/zerospace/faction/protectorate/unit/sol-invictus.ts";
constructor() {
super();
this.name = "Sol Invictus";
this.tier = "T4";
this.uuid = "d395055e-d904-475b-b973-ca017baf94bd";
this.hp = 3000;
this.lifeLoss = { amount: 60, cooldown: 1 };
this.armorType = "heavy";
this.speed = 380;
this.attacks.dualCannon = new Attack({
name: "Attack",
damage: 40,
shots: 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 },
});
this.tag("massive");
}
}
export default SolInvictus;