ZSGG Public Library
Arandi Time Warper
Arandi T3 Merc Unit
import { ArandiMercUnit } from "../../../../defaults/arandi.js";
import { Attack, Spell } from "../../../../engine/ability.js";
class ArandiTimeWarper extends ArandiMercUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/arandi/unit/arandi-time-warper.ts";
constructor() {
super();
this.hexiteCost = 50;
this.fluxCost = 200;
this.name = "Arandi Time Warper";
this.tier = "T3";
this.hotkey = "W";
this.uuid = "e6340371-da00-463a-9de1-34d014faa612";
this.internalId = "Troop_Arandi_Ball_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Arandi_Ball.Default__Troop_Arandi_Ball_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.FlyingUnit", "Attackable.ArmorType.Medium"];
this.internalSecondaryTags = ["Air", "Vehicle"];
this.description =
"Flying unit that can teleport friendly units to its location. \nCan enter phase mode, slowing enemy units in an area.";
this.hp = 350;
this.shields = 0;
this.armor = 0;
this.armorType = "light";
this.speed = 500;
this.supply = 6;
this.turnSpeed = 3000;
this.vision = 1800;
this.pushability = 1;
this.createdBy = ["mercenary/arandi/building/arandi-mothership"];
// this.infuseCost = 14; // Remove - readonly property
this.attacks.lightPulseCannon = new Attack({
name: "Light Pulse Cannon",
damage: 15,
range: 1200,
cooldown: 0.7,
armorPenetration: 0,
delay: 0,
targets: ["ground", "air"],
description: "Concentrated packets of accelerated time that age targets rapidly",
parentId: this.id,
parentUUID: this.uuid,
});
// this.spells.teleport = new Spell({
// name: "Teleport",
// hotkey: "B",
// cooldown: 120,
// energyCost: 0,
// energyType: "classic",
// range: 300,
// targets: ["map"],
// description: "Teleport friendly units to the caster location. 300 radius.",
// parentId: this.id,
// parentUUID: this.uuid,
// });
this.spells.phase = new Spell({
name: "Phase",
hotkey: "N",
cooldown: 1,
energyCost: 0,
energyType: "classic",
abilityType: "toggle",
togglesMode: "siege",
description: "Siege ability. Slow attack and movement speed of enemy units in area (-30%)",
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default ArandiTimeWarper;