ZSGG Public Library
Krag'vorn
Legion T2 Hero Unit
import { LegionHeroUnit } from "../../../../defaults/legion.js";
import { Attack, Passive } from "../../../../engine/ability.js";
export class KragVorn extends LegionHeroUnit {
override uuid: string;
static override src = "src/zerospace/faction/legion/hero/kragvorn.ts";
constructor() {
super();
this.hexiteCost = 250;
this.fluxCost = 150;
this.buildTime = 5;
this.rebuildable = true;
this.rebuildTime = 60;
this.name = "Krag'vorn";
this.tier = "T2";
this.internalId = "Troop_Empire_Sabretooth_C";
this.internalPath = "/Game/Nova/Archetypes_Heroes/Troop_Empire_Sabretooth.Default__Troop_Empire_Sabretooth_C";
this.internalTags = [
"Attackable.Biological",
"Attackable.Unit.Hero",
"Logic.NoVeterancy",
"Logic.SpawnAtOldestSpawner",
];
this.internalSecondaryTags = ["Biological", "Infantry"];
this.uuid = "57355de4-49e0-4745-b70e-38f9266230a7";
this.hp = 200;
this.shields = 0;
this.armor = 0;
this.armorType = "hero";
this.speed = 525;
this.supply = 0; // paired hero: the pair's 10 supply sits on Kraegar, matching the export
this.stunResist = 60;
this.vision = 1800;
this.turnSpeed = 6000;
this.pushability = 0.1;
this.createdBy = ["faction/legion/hero/kraegar"];
this.unlockedBy = ["faction/legion/hero/kraegar"];
this.spawnsWith = { id: "faction/legion/hero/kraegar", name: "Kraegar", primary: false };
this.attacks.venomfang = new Attack({
internalId: "Default__Weapon_Legion_Sabretooth_C",
name: "Venomfang",
damage: 30,
range: 170,
cooldown: 2.0,
delay: 0.1,
targets: ["ground"],
description: "Powerful melee attack with razor-sharp claws",
parentId: this.id,
parentUUID: this.uuid,
});
// Feed's numbers have nowhere to live yet: it is a stacking buff, and we have no model for
// stacks. Recorded here so the passive can be built properly later. As of 2026-07-30:
// +30 health and +1.5 damage per stack (was +20 and +1)
// max 15 stacks, or 20 with the upgrade (was 20 / 30)
// half the stacks are lost on death
this.passives.feed = new Passive({
name: "Feed",
description: "Any allied beast that dies anywhere on the map grants +1 dmg and +20hp to Krag'vorn.",
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default KragVorn;