ZeroSpace.gg

Endari

Mercenary Faction

import { EndariFaction, EndariTalent, EndariTopbar } from "../../defaults/endari.js"; class NightTopbar extends EndariTopbar { override description = "Plunges the worlds into deep night for 30 seconds. \nSilent Hollow awakens and roams freely. \nEndari units become stronger (+25% move speed, +25% attack speed, -20% ability cooldowns)"; constructor() { super(); this.name = "The Veil Cracks"; this.topbarType = "special"; this.energyCost = 25; this.cooldown = 120; this.duration = 30; this.slot = 6; this.uuid = "78cfe193-2927-4958-aeaf-ecd4ecdd8a70"; this.unlockedBy = ["mercenary/endari/building/silent-hollow"]; } } export class Endari extends EndariFaction { override uuid: string; static override src = "src/zerospace/mercenary/endari.ts"; constructor() { super(); this.name = "Endari"; this.uuid = "4895bcc4-ca57-4c4d-ae96-daa138072b45"; // TODO: description coming from a separate source. this.description = ""; this.mercHeroesAllowed = true; this.talents.theyWrithe = new EndariTalent({ name: "They Writhe", level: 2, position: "B", description: "Spawn a group of Shadow Leeches and allow their production.", wikiDescription: "Spawn a group of Shadow Leeches and allow production of the [[mercenary/endari/unit/endari-shadow-leech]].", unlocks: ["mercenary/endari/unit/endari-shadow-leech"], }); this.talents.unceasingViolence = new EndariTalent({ name: "Unceasing Violence", level: 4, position: "B", description: "-20% ability cooldowns. \n+15% attack speed.", }); this.talents.theVeilShatters = new EndariTalent({ name: "The Veil Shatters", level: 6, position: "B", description: "Doubles the Night's duration, and Awoken Hollow's damage and health. \n-20% enemy vision during night.", }); this.topbars.night = new NightTopbar(); this.units = [ "mercenary/endari/unit/endari-shade", "mercenary/endari/unit/endari-needler", "mercenary/endari/unit/endari-wyrm", "mercenary/endari/unit/endari-devourer", "mercenary/endari/unit/endari-shadow-leech", "mercenary/endari/unit/awoken-hollow", "mercenary/endari/unit/endari-impaler", ]; // Silent Hollow is the Endari merc outpost (fly-then-land recruitment structure). this.buildings = ["mercenary/endari/building/silent-hollow"]; this.heroes = ["mercenary/endari/hero/umbra"]; } } export default Endari;