ZSGG Public Library
Valkaru
Mercenary Faction
import { ValkaruFaction, ValkaruTalent, ValkaruTopbar } from "../../defaults/valkaru.js";
import Mondar from "./valkaru/hero/mondar.js";
class SummonValkaruBeastTopbar extends ValkaruTopbar {
description = "Summons a valkaru beast";
constructor() {
super();
this.name = "Valkaru Beast";
this.uuid = "3e35de25-a772-4bae-9118-cbaa610d676c";
this.topbarType = "special";
this.slot = 5;
this.energyCost = 22;
this.cooldown = 120;
this.creates = ["mercenary/valkaru/unit/valkaru-beast"];
this.unlockedBy = ["mercenary/valkaru/building/valkaru-war-vault"];
}
}
export const summonValkaruBeast = new SummonValkaruBeastTopbar();
export class Valkaru extends ValkaruFaction {
static override src = "src/zerospace/mercenary/valkaru.ts";
constructor() {
super();
this.uuid = "9a3f7e2b-8d5c-4f1a-9e6b-7c4d8f2a5b3e";
this.name = "Valkaru";
this.mercHeroesAllowed = true;
this.talents.houndsOfWar = new ValkaruTalent({
uuid: "1CC179BC-99A3-4925-B8BB-A376D8BF02F8",
name: "Hounds of War",
level: 2,
position: "B",
description: "Spawn an extra Hound when a mercenary squad is purchased.",
wikiDescription: "Spawn an extra [[mercenary/valkaru/unit/valkaru-hound]] when a mercenary squad is purchased.",
});
this.talents.relicPlating = new ValkaruTalent({
uuid: "13492853-757E-4A53-B4A1-8CB7F805F271",
name: "Relic Plating",
level: 4,
position: "B",
description: "All units +1 Armor & +25% HP",
});
this.talents.fallenGlory = new ValkaruTalent({
uuid: "4d5e6f7a-8b9c-0d1e-2f3a-4b5c6d7e8f9a",
name: "Fallen Glory",
level: 6,
position: "B",
description:
"Valkaru units temporarily gain +15% attack speed when nearby friendly units die. Valkaru Beast gains Taunt and Pulverize abilities.",
});
this.topbars.valkaruBeast = summonValkaruBeast;
this.heroes = ["mercenary/valkaru/hero/torq", "mercenary/valkaru/hero/mondar"];
this.units = [
"mercenary/valkaru/unit/valkaru-beast",
"mercenary/valkaru/unit/valkaru-flame-walker",
"mercenary/valkaru/unit/valkaru-hound",
"mercenary/valkaru/unit/valkaru-shock-trooper",
"mercenary/valkaru/unit/valkaru-tow-bot",
];
this.buildings = ["mercenary/valkaru/building/valkaru-war-vault"];
this.description =
"A war-driven society of high-tech aliens, the Valkaru revel in battle, often clashing among themselves in the absence of a common enemy. They favor direct assaults, using brute force to overwhelm their foes. With powerful frontline warriors and the ability to summon a champion to dominate the battlefield, the Valkaru crush any opposition beneath their relentless advance.";
}
}
export default Valkaru;
export { Mondar };