ZSGG Public Library
TriArch I'Olin
Arandi Hero Unit
import { ArandiHeroUnit } from "../../../../defaults/arandi.js";
import { Attack, Spell } from "../../../../engine/ability.js";
class TriarchIolin extends ArandiHeroUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/arandi/hero/triarch-iolin.ts";
constructor() {
super();
this.name = "TriArch I'Olin";
this.description = "Can create Singularity and Teleport herself over short distances.";
this.buildTime = 5;
this.hotkey = "";
this.uuid = "07219bf3-59a1-4438-bce0-2d346e26e651";
this.internalId = "Troop_MPHero_Iolin_C";
this.internalPath = "/Game/Nova/Archetypes_Heroes/Troop_MPHero_Iolin.Default__Troop_MPHero_Iolin_C";
this.internalTags = [
"Attackable.Unit.Hero",
"Logic.SpawnAtOldestSpawner",
"Attackable.Biological",
"Logic.NoVeterancy",
];
this.internalSecondaryTags = ["Infantry"];
this.vision = 1800;
this.turnSpeed = 6000;
this.pushability = 0;
this.healthRegen = 6;
this.hp = 120;
this.shields = 120;
this.armor = 0;
this.armorType = "hero";
this.speed = 500;
this.attacks.ghostTether = new Attack({
name: "Ghost Tether",
damage: 23,
range: 1200,
cooldown: 1.63,
armorPenetration: 0,
delay: 0.14,
targets: ["ground", "air"],
description: "Interdimensional energy bolts that manipulate space-time",
parentId: this.id,
parentUUID: this.uuid,
});
this.spells.singularity = new Spell({
name: "Singularity",
description:
"Fire a ball of energy dealing 30 damage and slowing enemies for 2 seconds. The singularity returns back to the caster and restores 10% shields per unit hit",
hotkey: "Q",
damage: 30,
cooldown: 24,
energyCost: 0,
energyType: "classic",
range: 1200,
targets: ["ground", "air"],
parentId: this.id,
parentUUID: this.uuid,
});
this.spells.teleport = new Spell({
name: "Teleport",
description: "Teleport to target location.",
hotkey: "W",
cooldown: 12,
energyCost: 0,
energyType: "classic",
range: 1500,
targets: ["map"],
parentId: this.id,
parentUUID: this.uuid,
});
this.spells.blackHole = new Spell({
name: "Black Hole",
description: "Pulls enemies to the middle of a target area",
hotkey: "E",
targets: ["map"],
targetMode: "location",
cooldown: 30,
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default TriarchIolin;