ZSGG Public Library
Cataclyst
Xol T3 Army Unit
import { XolArmyUnit } from "../../../../defaults/xol.js";
import { Attack, Spell } from "../../../../engine/ability.js";
import { applyXolMerges } from "../_util/xol-merges.js";
export class Cataclyst extends XolArmyUnit {
override uuid: string;
static override src = "src/zerospace/faction/xol/unit/cataclyst.ts";
constructor() {
super();
applyXolMerges(this);
this.buildTime = 50;
this.name = "Cataclyst";
this.tier = "T3";
this.hotkey = "";
this.uuid = "913225bd-c99c-415d-9703-c9af3d544603";
this.internalId = "Troop_Xol_Catalyst_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Xol_Catalyst.Default__Troop_Xol_Catalyst_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.FlyingUnit",
"Local.Xol.Catalyst",
"Troop.Xol.Tier4",
"Attackable.Unit.Massive",
"Attackable.ArmorType.Heavy",
];
this.internalSecondaryTags = ["Air"];
this.description =
"Heavy capital ship that deals Area of Effect damage in a line against ground targets and can use Entropy Bloom.\nEntropy Bloom: Deal damage directly under the Cataclyst, then the effect spreads out dealing 50 damage in a large radius instantly, then 50 more damage to HP and shields over 10 seconds; stuns structures.";
this.unlockedBy = ["faction/xol/building/world-forge"];
this.hp = 1000;
this.shields = 0;
this.armor = 1;
this.armorType = "heavy";
this.domain = "air";
this.stunResist = 25;
this.speed = 350;
this.supply = 15;
this.turnSpeed = 0;
this.vision = 1800;
this.pushability = 0;
this.attacks.attack = new Attack({
internalId: "Default__Weapon_Xol_Catalyst_C",
name: "Ground Ripper",
damage: 15,
range: 1200,
cooldown: 0.25,
armorPenetration: 0,
delay: 0,
targets: ["ground", "air"],
parentId: this.id,
parentUUID: this.uuid,
});
this.spells.entropyBloom = new Spell({
name: "Entropy Bloom",
hotkey: "C",
cooldown: 120,
duration: 10,
damage: 50,
targets: ["ground"],
targetMode: "around-self",
description:
"Fires a laser beneath the Cataclyst, dealing massive damage and creating a ripple of electric dust across a large radius. Enemies take 50 damage, with an additional 50 damage to shields and energy over 10 seconds. Stuns structures.",
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default Cataclyst;