ZSGG Public Library
Valkaru Tow Bot
Valkaru T3 Merc Unit
import { ValkaruMercUnit } from "../../../../defaults/valkaru.js";
import { Heal, Spell } from "../../../../engine/ability.js";
class ValkaruTowBot extends ValkaruMercUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/valkaru/unit/valkaru-tow-bot.ts";
constructor() {
super();
this.hexiteCost = 100;
this.fluxCost = 150;
this.name = "Valkaru Tow Bot";
this.tier = "T3";
this.hotkey = "V";
this.internalId = "Troop_Valk_Grabber_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Valk_Grabber.Default__Troop_Valk_Grabber_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Heavy", "Local.Valkaru"];
this.internalSecondaryTags = ["Mech"];
this.uuid = "d7ccf37a-fa0e-4c72-9c60-853651b60842";
this.description = "Heavy ranged walker which can pull units towards itself.";
this.shortName = "Tow Bot";
this.hp = 425;
this.shields = 0;
this.armor = 0;
this.armorType = "heavy";
this.speed = 600;
this.supply = 6;
this.turnSpeed = 2000;
this.createdBy = ["mercenary/valkaru/building/valkaru-war-vault"!];
this.heals.utilityLaser = new Heal({
internalId: "Default__Weapon_TowBot_Heal_C",
name: "Utility Laser",
healing: 6,
cooldown: 0.5,
range: 800,
targets: ["friendly:ground", "friendly:air"],
description: "Repairs a nearby friendly unit.",
delay: 0.1,
parentId: this.id,
parentUUID: this.uuid,
});
this.spells.pull = new Spell({
name: "Pull",
description:
"Pulls all units in the target area towards the Tow Bot. \nPull distance is reduced by status resist.",
targets: ["ground", "air"],
targetMode: "location",
cooldown: 30,
effectRadius: 225,
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default ValkaruTowBot;