ZeroSpace.gg

Hel

Marran T2 Hero Unit

import { MarranHeroUnit } from "../../../../defaults/marran.js"; import { Attack, Spell } from "../../../../engine/ability.js"; export class Hel extends MarranHeroUnit { override uuid: string; static override src = "src/zerospace/mercenary/marran/hero/hel.ts"; constructor() { super(); this.hexiteCost = 220; this.fluxCost = 0; this.buildTime = 5; this.name = "Hel"; this.description = "A long range hero. Can throw units away with the Shockwave Grenade, become cloakes, and Snipe enemies."; this.uuid = "5a7201be-77b4-4464-865a-23c1d5d5882f"; this.internalId = "Troop_MPHero_Hel_C"; this.internalPath = "/Game/Nova/Archetypes_Heroes/Troop_MPHero_Hel.Default__Troop_MPHero_Hel_C"; this.internalTags = [ "Attackable.Unit.Hero", "Logic.SpawnAtOldestSpawner", "Attackable.Biological", "Logic.NoVeterancy", ]; this.internalSecondaryTags = ["Biological", "Infantry"]; this.shortName = "Hel"; this.hp = 130; this.shields = 130; this.armorType = "hero"; this.speed = 500; this.vision = 2000; this.turnSpeed = 6000; this.healthRegen = 6; this.pushability = 0.1; this.attacks.pulseRifle = new Attack({ name: "Pulse Rifle", damage: 30, cooldown: 1.8, armorPenetration: 0, delay: 0.04, range: 1600, targets: ["ground", "air"], abilityType: "attack", parentId: this.id, parentUUID: this.uuid, }); this.spells.shockwaveGrenade = new Spell({ name: "Shockwave Grenade", hotkey: "T", cooldown: 18, description: "Fire a grenade that pushes all units away. \nEnemy units take 25 damage and are slowed.", abilityType: "spell", damage: 20, targets: ["map"], parentId: this.id, parentUUID: this.uuid, }); this.spells.stealth = new Spell({ name: "Stealth", hotkey: "P", cooldown: 22, description: "Stealth and gain +40% movement speed for 10 seconds.", abilityType: "spell", targets: ["self"], duration: 8, parentId: this.id, parentUUID: this.uuid, }); this.spells.snipe = new Spell({ name: "Snipe", hotkey: "E", cooldown: 25, description: "Deal 2x weapon damage and reduces the target's move speed and damage mitigation by 40% for 3s", abilityType: "spell", damage: 60, targets: ["ground", "air"], duration: 3, parentId: this.id, parentUUID: this.uuid, }); } } export default Hel;