ZSGG Public Library
Arandi Nullseer
Arandi T2 Merc Unit
import { ArandiMercUnit } from "../../../../defaults/arandi.js";
import { Attack, Spell } from "../../../../engine/ability.js";
class ArandiNullseer extends ArandiMercUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/arandi/unit/arandi-nullseer.ts";
constructor() {
super();
this.hexiteCost = 50;
this.fluxCost = 175;
this.name = "Arandi Nullseer";
this.tier = "T2";
this.hotkey = "";
this.uuid = "b5b32137-195b-42f2-995a-537ca4035cc4";
this.internalId = "Troop_Arandi_Amplifier_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Arandi_Amplifier.Default__Troop_Arandi_Amplifier_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.ArmorType.Light",
"Attackable.Biological",
"Local.Arandi.Nullseer",
];
this.internalSecondaryTags = ["Biological", "Infantry"];
this.description =
"Can mind-control enemy units. Killed friendly units nearby spawn hallucination on death. Hallucinations deal damage but have little life and can't use abilities.";
this.hp = 200;
this.shields = 0;
this.armor = 0;
this.armorType = "light";
this.speed = 500;
this.supply = 5;
this.turnSpeed = 2000;
this.vision = 1600;
this.pushability = 0;
this.createdBy = ["mercenary/arandi/building/arandi-mothership"];
// TODO: Convert to getter - this.infuseCost = 13;
this.energy = 100;
this.attacks.chronobind = new Attack({
name: "Chronobind",
damage: 20,
range: 1200,
cooldown: 2,
armorPenetration: 0,
delay: 0.5,
targets: ["ground", "air"],
description: "Psychic energy bolts channeled through crystalline dimensional anchors",
parentId: this.id,
parentUUID: this.uuid,
});
this.spells.mindControl = new Spell({
name: "Mind Control",
description:
"Take over enemy unit. \nConsumes energy when channeling. \nEnergy drain rate is based on controlled unit's status resist. \nCannot use abilities of controlled units.",
hotkey: "V",
cooldown: 10,
energyCost: 10,
energyType: "classic",
range: 1200,
targets: ["ground", "air"],
abilityType: "channel",
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default ArandiNullseer;