ZSGG Public Library
Cataclyst
Xol Co-Op T3 Army Unit
import { XolArmyUnit } from "../../../../../defaults/xol.js";
import { Attack, Spell, Upgrade } from "../../../../../engine/ability.js";
import { applyCoopXolMerges } from "../../../_util/coop-xol-merges.js";
export class CoopCataclyst extends XolArmyUnit {
static override src = "src/zerospace/coop/commander/anrubic/unit/coop-anrubic-cataclyst.ts";
override get variantOf(): string {
return "faction/xol/unit/cataclyst";
}
constructor() {
super();
applyCoopXolMerges(this);
this.buildTime = 50;
this.name = "Cataclyst";
this.tier = "T3";
this.hotkey = "";
this.uuid = "a8191d48-dfe4-4aa2-930c-b210f652931d";
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.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: "Arc Cascade",
damage: 15,
range: 1200,
cooldown: 0.25,
armorPenetration: 0,
delay: 0,
targets: ["ground", "air"],
parentId: this.id,
parentUUID: this.uuid,
});
this.spells.groundRipper = new Spell({
name: "Ground Ripper",
hotkey: "T",
cooldown: 20,
duration: 0,
damage: 50,
targets: ["ground"],
targetMode: "strip",
description:
"Fires a laser sweeping across the ground, dealing 75 to enemy ground units and an additional 50 damage per second to units that remain under the laser.",
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,
});
this.maxOwned = 1;
this.unlockedBy = ["coop/commander/anrubic/building/coop-anrubic-world-forge"];
this.upgradedBy = ["coop/commander/anrubic/building/coop-anrubic-world-forge"];
this.upgrades.limitIncrease1 = new Upgrade({
name: "Limit Increase",
description: "+1 unit limit increase",
tier: "T1",
position: "A",
fluxCost: 150,
researchTime: 50,
parentId: this.id,
parentUUID: this.uuid,
uuid: "484e06b4-e57e-4e0e-ba53-ff4e40abd451",
});
this.upgrades.limitIncrease2 = new Upgrade({
name: "Limit Increase",
description: "+1 unit limit increase",
tier: "T2",
position: "A",
fluxCost: 200,
researchTime: 60,
parentId: this.id,
parentUUID: this.uuid,
uuid: "0205b526-1b48-4358-a99e-c06bb4b1c7bd",
});
}
}
export default CoopCataclyst;