ZSGG Public Library
Arandi Judgment
Arandi T4 Merc Unit
import { Attack, Spell } from "../../../../engine/ability.js";
import { MercUnit } from "../../../../engine/unit.js";
export class ArandiJudgment extends MercUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/arandi/unit/arandi-judgment.ts";
constructor() {
super();
this.hexiteCost = 100;
this.fluxCost = 0;
this.buildTime = 20;
this.buildCount = 1;
this.name = "Arandi Judgment";
this.tier = "T4";
this.supply = 6;
this.faction = "arandi";
this.factionName = "Arandi";
this.uuid = "3493bcca-f6ab-4d97-9bfb-161b81687fb7";
this.hp = 600;
this.shields = 0;
this.armor = 2;
this.armorType = "light";
this.speed = 375;
this.vision = 1600;
this.domain = "air";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.FlyingUnit", "Attackable.ArmorType.Light"];
this.internalSecondaryTags = ["Infantry"];
this.description = "Attack generates energy. Grants shields to allied units every 5 attacks it makes.";
this.attacks.energyPulsar = new Attack({
name: "Energy Pulsar",
damage: 50,
cooldown: 2.4,
armorPenetration: 0,
delay: 0,
range: 1300,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
this.spells.shieldGeneration = new Spell({
name: "Shield Generation",
description: "Grants shields to nearby friendly units",
energyCost: 5,
energyType: "abes",
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default ArandiJudgment;