ZeroSpace.gg

Mondar

Valkaru Hero Unit

import { ValkaruHeroUnit } from "../../../../defaults/valkaru.js"; import { Attack, Spell } from "../../../../engine/ability.js"; class Mondar extends ValkaruHeroUnit { override uuid: string; static override src = "src/zerospace/mercenary/valkaru/hero/mondar.ts"; constructor() { super(); this.hexiteCost = 220; this.fluxCost = 0; this.internalId = "Troop_MPHero_Mondar_C"; this.internalPath = "/Game/Nova/Archetypes_Heroes/Troop_MPHero_Mondar.Default__Troop_MPHero_Mondar_C"; this.internalTags = [ "Attackable.Unit.Hero", "Logic.SpawnAtOldestSpawner", "Attackable.Biological", "Logic.NoVeterancy", ]; this.internalSecondaryTags = ["Infantry"]; this.buildCount = 1; this.rebuildable = true; this.rebuildTime = 60; this.name = "Mondar"; this.description = "Mondar and Torq can pass each other their hammer, and become enraged when the other dies."; this.buildTime = 5; this.hotkey = ""; this.uuid = "e8c1002e-8d5f-49d2-9e38-5f9a44059f3b"; this.shortName = "Mondar"; this.hp = 280; this.shields = 0; this.armorType = "hero"; this.speed = 600; this.vision = 1800; this.turnSpeed = 6000; this.pushability = 0.1; this.createdBy = ["mercenary/valkaru/building/valkaru-merc-outpost"!]; this.unlockedBy = ["mercenary/valkaru/building/valkaru-merc-outpost"!]; this.spawnsWith = { id: "mercenary/valkaru/hero/torq", name: "Torq", primary: true }; this.attacks.precisionGun = new Attack({ name: "Precision Gun", damage: 25, cooldown: 1.2, armorPenetration: 0, delay: 0.12, range: 1000, targets: ["ground"], splash: { multiplier: 0.5, range: 200 }, description: "Shock trooper area of effect attack at target location. Can be dodged by moving units. Deals significant AoE damage where projectile lands.", parentId: this.id, parentUUID: this.uuid, }); this.attacks.electrifyingHammer = new Attack({ name: "Electrifying Hammer", damage: 10, cooldown: 1.2, range: 150, targets: ["ground"], description: "Devastating melee strikes with mystical hammer that channels chain lightning between multiple enemies", parentId: this.id, parentUUID: this.uuid, }); this.spells.hammerCatch = new Spell({ name: "Hammer Catch", hotkey: "", energyCost: 0, cooldown: 0, range: 0, targets: [], description: "Automatically catches the electrifying hammer when thrown by Torq, gaining enhanced melee combat capabilities and increased attack speed", parentId: this.id, parentUUID: this.uuid, }); } } export default Mondar;