ZSGG Public Library
Valkaru Beast
Valkaru T1 Merc Unit
import { ValkaruMercUnit } from "../../../../defaults/valkaru.js";
import { Attack, Spell } from "../../../../engine/ability.js";
class ValkaruBeast extends ValkaruMercUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/valkaru/unit/valkaru-beast.ts";
constructor() {
super();
this.name = "Valkaru Beast";
this.tier = "T1";
this.hotkey = "";
this.uuid = "08c67bb8-e20d-4d3d-a379-cfa76c982e70";
this.description = "Tanky melee unit.";
this.shortName = "Beast";
this.hp = 1400;
this.shields = 0;
this.armor = 0;
this.armorType = "light";
this.speed = 575;
this.supply = 4;
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.Unit.Light",
"Attackable.Biological",
"Attackable.ArmorType.Heavy",
"Logic.ABES",
];
this.createdBy = ["mercenary/valkaru/building/valkaru-merc-outpost"];
this.unlockedBy = ["mercenary/valkaru/building/valkaru-merc-outpost"];
this.attacks.pulverizingFists = new Attack({
name: "Pulverizing Fists",
damage: 130,
cooldown: 2.5,
range: 200,
targets: ["ground"],
description: "Crushing melee strikes that can devastate enemy formations with overwhelming physical force",
parentId: this.id,
parentUUID: this.uuid,
});
this.attacks.pulverize = new Attack({
name: "Pulverize",
damage: 500,
cooldown: 0,
range: 200,
energyCost: 6,
energyType: "abes",
parentId: this.id,
parentUUID: this.uuid,
});
this.spells.taunt = new Spell({
name: "Taunt",
hotkey: "J",
description: "Forces nearby enemies to attack the Beast for 5 seconds. Gain 5 armor for the duration.",
targets: ["self"],
cooldown: 20,
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default ValkaruBeast;