ZSGG Public Library
Emperor Projection
Legion Co-Op Ultimate Unit
import { LegionUltimateUnit } from "../../../../../defaults/legion.js";
import { Attack, Spell } from "../../../../../engine/ability.js";
import type { Tier } from "../../../../../engine/core.js";
export class CoopGalavaxEmperorProjection extends LegionUltimateUnit {
static override src = "src/zerospace/coop/commander/galavax/unit/coop-galavax-emperor-projection.ts";
constructor() {
super();
this.uuid = "2db62715-3007-46ec-b5ab-4eeec82633e6";
this.hexiteCost = 0;
this.fluxCost = 0;
this.buildTime = 5;
this.buildCount = 1;
this.name = "Emperor Projection";
this.tier = "ultimate";
this.internalId = "Troop_Empire_EmperorProjection_C";
this.internalPath =
"/Game/Nova/Archetypes_Troops/Troop_Empire_EmperorProjection.Default__Troop_Empire_EmperorProjection_C";
this.internalTags = [
"Attackable.ArmorType.Medium",
"Attackable.Unit.Massive",
"Attackable.Unit.Troop",
"Local.Legion.Emperor",
"Logic.MapBoss",
"Logic.NoVeterancy",
];
this.internalSecondaryTags = ["Infantry"];
this.supply = 0;
this.stunResist = 100;
this.hp = 5000;
this.shields = 0;
this.armor = 2;
this.armorType = "medium";
this.speed = 600;
this.vision = 1800;
this.turnSpeed = 1500;
this.createdBy = ["faction/legion/building/ritual-site"];
this.unlockedBy = ["faction/legion/building/ritual-site"];
this.tag("massive");
this.attacks.attack = new Attack({
internalId: "Default__Legion_EmperorProjection_C",
name: "Attack",
damage: 100,
cooldown: 1.4,
range: 300,
delay: 0.688,
targets: ["ground"],
bonusDamage: [{ multiplier: 2, vs: ["building"] }],
splash: { multiplier: 1.0, range: 175 },
parentId: this.id,
parentUUID: this.uuid,
});
this.internalId = "Troop_Galavax_EmperorProjection_C";
this.internalPath = undefined;
this.hp = 22200;
this.attacks.attack.name = "The Final Judgement";
this.attacks.attack.targets = ["ground", "air"];
this.attacks.attack.splash = { multiplier: 1.0, range: 100 };
this.spells.emperorsFury = new Spell({
name: "Emperor's Fury",
hotkey: "L",
cooldown: 10,
damage: 300,
duration: 2,
targets: ["ground", "air"],
description: "Deal 300 damage to enemies in an arc and stun them for 2 seconds.",
parentId: this.id,
parentUUID: this.uuid,
});
this.createdBy = ["coop/commander/galavax/building/coop-galavax-monolith"];
this.unlockedBy = ["coop/commander/galavax/building/coop-galavax-monolith"];
}
}
export default CoopGalavaxEmperorProjection;