UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

79 lines 3.19 kB
"use strict"; /** * Vynthra - Grell Hero * Can slow and damage enemy units with Deadly Vines, Deep Burrow itself to biomass, or Consume itself of friendly units to gain buffs. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Vynthra = void 0; const ability_js_1 = require("../../../../engine/ability.cjs"); const grell_classes_js_1 = require("../../grell-classes.cjs"); class Vynthra extends grell_classes_js_1.GrellHeroUnit { constructor() { super(); this.name = "Vynthra"; this.uuid = "13e0634b-8a3d-4090-b392-789a606ba4c2"; this.hp = 280; this.armorType = "medium"; this.speed = 525; // Primary long-range attack this.attacks.attack = new ability_js_1.Attack({ name: "Attack", damage: 30, cooldown: 1.8, range: 1200, targets: ["ground", "air"], parentId: this.id, parentUUID: this.uuid, }); // Deadly Vines - Area control spell this.spells.deadlyVines = new ability_js_1.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, }); // Deep Burrow - Biomass teleportation this.spells.deepBurrow = new ability_js_1.Spell({ name: "Deep Burrow", hotkey: "F", cooldown: 30, targets: ["self"], description: "Teleports the hero to a visible location on biomass anywhere on the map. Cannot be interrupted.", parentId: this.id, parentUUID: this.uuid, }); // Consume - Life drain from friendly units this.spells.consume = new ability_js_1.Spell({ name: "Consume", 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, }); // Consume Self - Self-cast version affecting nearby friendlies this.spells.consumeSelf = new ability_js_1.Spell({ name: "Consume 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, }); // All other stats inherited from base GrellHeroUnit class } } exports.Vynthra = Vynthra; // Static property for source path Vynthra.src = "src/zerospace/faction/grell/hero/vynthra.ts"; exports.default = Vynthra; //# sourceMappingURL=vynthra.js.map