ZSGG Public Library
Valkaru Tow Bot
Valkaru Co-Op T3 Merc Unit
import { ValkaruMercUnit } from "../../../../../defaults/valkaru.js";
import { Heal, Spell } from "../../../../../engine/ability.js";
class CoopValkaruTowBot extends ValkaruMercUnit {
override uuid: string;
static override src = "src/zerospace/coop/mercenary/valkaru/unit/coop-valkaru-tow-bot.ts";
constructor() {
super();
this.hexiteCost = 100;
this.fluxCost = 100;
this.name = "Valkaru Tow Bot";
this.tier = "T3";
this.hotkey = "C";
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 = "c4830521-e7ad-46b0-a084-3a6b62f18177";
this.description = "Heavy ranged walker which can pull units towards itself.";
this.shortName = "Tow Bot";
this.hp = 500;
this.shields = 0;
this.armor = 0;
this.armorType = "heavy";
this.speed = 600;
this.supply = 6;
this.turnSpeed = 2000;
this.createdBy = ["coop/mercenary/valkaru/building/coop-valkaru-war-vault"!];
this.heals.utilityLaser = new Heal({
internalId: "Default__Weapon_TowBot_Heal_C",
name: "Utility Laser",
healing: 20,
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 CoopValkaruTowBot;