ZeroSpace.gg

Vynthra

Grell Hero Unit

import { GrellHeroUnit } from "../../../../defaults/grell.js"; import { Attack, Spell } from "../../../../engine/ability.js"; export class Vynthra extends GrellHeroUnit { override uuid: string; static override src = "src/zerospace/faction/grell/hero/vynthra.ts"; constructor() { super(); this.hexiteCost = 220; this.fluxCost = 0; this.buildTime = 5; this.name = "Vynthra"; this.description = "Can slow and damage enemy units, burrow to biomass, or consume itself or friendly units to grant health and movement speed."; this.uuid = "13e0634b-8a3d-4090-b392-789a606ba4c2"; this.internalId = "Troop_MPHero_Vynthra_C"; this.internalPath = "/Game/Nova/Archetypes_Heroes/Troop_MPHero_Vynthra.Default__Troop_MPHero_Vynthra_C"; this.internalTags = [ "Attackable.Unit.Hero", "Logic.SpawnAtOldestSpawner", "Attackable.Biological", "Logic.NoVeterancy", ]; this.internalSecondaryTags = []; this.hp = 280; this.armorType = "hero"; this.speed = 525; this.vision = 1800; this.turnSpeed = 6000; this.healthRegen = 6; this.pushability = 0.1; this.attacks.nebulaToxin = new Attack({ name: "Nebula Toxin", damage: 30, cooldown: 1.8, armorPenetration: 0, range: 1200, targets: ["ground", "air"], delay: 0.14, parentId: this.id, parentUUID: this.uuid, }); this.spells.deadlyVines = new Spell({ name: "Deadly Vines", hotkey: "Z", cooldown: 15, targets: ["map"], description: "Throw a tangle of vines. At its location, enemy ground units are slowed, can't use movement abilities, and take 60 damage over 10 seconds", parentId: this.id, parentUUID: this.uuid, }); this.spells.rootPassage = new Spell({ name: "Root Passage", hotkey: "F", cooldown: 30, targets: ["self"], description: "Tunnel to a visible location on biomass", parentId: this.id, parentUUID: this.uuid, }); this.spells.lifeHarvest = new Spell({ name: "Life Harvest (Friendly Unit)", hotkey: "D", cooldown: 45, damage: 250, healing: 250, targets: ["friendly:ground", "friendly:air"], description: "Consume 250 health from a friendly unit, healing the hero for the same amount and granting a 20% movement speed boost for 10 seconds.", parentId: this.id, parentUUID: this.uuid, }); this.spells.lifeHarvestSelf = new Spell({ name: "Life Harvest (Self)", hotkey: "D", cooldown: 45, damage: 250, healing: 250, targets: ["self"], description: "Consume 250 health from Vynthra herself to heal and grant a 20% movement speed boost for 10 seconds to nearby friendly units.", parentId: this.id, parentUUID: this.uuid, }); } } export default Vynthra;