ZSGG Public Library
Arandi
Mercenary Faction
import { ArandiFaction, ArandiTalent, ArandiTopbar } from "../../defaults/arandi.js";
class OathguardTopbar extends ArandiTopbar {
override get type(): string {
return "ability";
}
override description = "Teleports targeted units to the Arandi Mothership.";
constructor() {
super();
this.name = "Mothership Recall";
this.energyCost = 10;
this.cooldown = 90;
this.slot = 6;
this.uuid = "7961c27a-78bc-4b48-a154-bb8e18fcb01a";
}
}
export class Arandi extends ArandiFaction {
override uuid: string;
static override src = "src/zerospace/mercenary/arandi.ts";
constructor() {
super();
this.name = "Arandi";
this.uuid = "05471fa8-936f-457d-882f-17d6124eb28f";
this.description =
"The Arandi are an advanced civilization that command interdimensional energy, warping matter and bending the laws of reality itself. Their technology allows them to traverse vast distances instantly, positioning them as unpredictable and formidable foes. Their units defy traditional roles, shaping the flow of combat through unconventional tactics and extraordinary abilities that disrupt the normal course of battle.";
this.mercHeroesAllowed = true;
this.talents.freeHarvester = new ArandiTalent({
uuid: "23395595-d5e8-41c3-8601-b1ce6bd86864",
name: "Free Harvester",
level: 2,
description: "+1 Harvester. +15% Flux Income",
});
this.talents.castingRange = new ArandiTalent({
uuid: "b7637344-0567-4f67-94cc-6e9270dc73bf",
name: "Casting Range",
level: 4,
description: "+25% Casting Range & -30% Ability Cooldown",
});
this.talents.upgradeMothership = new ArandiTalent({
uuid: "f8e7d6c5-b4a3-9281-7654-3210fedcba98",
name: "Upgrade Mothership",
level: 6,
description:
"+50% Mothership speed. \nAbduct cooldown reduced from 120 seconds to 15 seconds. \nUnlocks and immediately spawns 2 Arandi Juggernauts.",
});
this.topbars.oathguard = new OathguardTopbar();
this.units = [
"mercenary/arandi/unit/arandi-horned-mech",
"mercenary/arandi/unit/arandi-nullseer",
"mercenary/arandi/unit/arandi-phoenix-guard",
"mercenary/arandi/unit/arandi-time-warper",
"mercenary/arandi/unit/arandi-judgment",
];
this.buildings = ["mercenary/arandi/building/arandi-mothership"];
this.heroes = ["mercenary/arandi/hero/triarch-iolin"];
}
}
export default Arandi;