ZeroSpace.gg

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/krag-vorn.ts"; constructor() { super(); this.hexiteCost = 150; this.fluxCost = 150; this.buildTime = 20; this.rebuildable = true; this.rebuildTime = 60; this.name = "Krag'Vorn"; this.tier = "T2"; this.internalId = ""; this.internalPath = ""; this.uuid = "57355de4-49e0-4745-b70e-38f9266230a7"; this.hp = 200; this.shields = 0; this.armor = 0; this.armorType = "hero"; this.speed = 525; this.stunResist = 70; 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({ name: "Venomfang", damage: 30, range: 200, cooldown: 2.0, targets: ["ground"], description: "Powerful melee attack with razor-sharp claws", parentId: this.id, parentUUID: this.uuid, }); 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;