• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Jump can deal damage = jump distance ?

Status
Not open for further replies.
Level 5
Joined
May 8, 2020
Messages
87
1710411957215.png



I want to create a skill that can jump into the air and then land on the ground.Like the shockwave skill, it will touch units it passes through and can deal damage.
When it lands at the location it will reach, will deal damage equal to the amount of distance that jump has jumped (for example, the maximum jump distance is 3000 x2 which will be 6000 maximum damage.
If this is not possible, then x2 the hero's main stat is fine. thanks
 
Level 13
Joined
Feb 5, 2018
Messages
567
Do you want the Hero to jump or the Missile to jump and land on the ground? Air time and calculating distances are very advanced triggering.

If you want the missile to jump and land on the ground you can use Relativistic Missiles [vJASS][LUA][GUI]
It's fairly easy to do with this system.

If you want the unit to jump you probably need to copy a jump spell from the spell section and modify it. As I said airtime with distance calculation is a pain to do. I found this Warden Leap [GUI] v0.4 (This has no target it just leaps forward to the facing angle, so the distance is preset).

There was also something called "The incredible jump" or something, which had better triggering than this. It included the distance + airtime calculation, which meant the jump time changed accordingly, which is the thing you need I guess.
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,877
Here's what I think you wanted. Hopefully you're on the latest patch. It requires a Unit Indexer in your map (don't import more than one).

The 2x distance damage is simple, you get the Distance between two points (caster pos and target point of ability being cast) and multiply that by 2.
 

Attachments

  • Wave Jump 1 back.w3m
    30.3 KB · Views: 9
Status
Not open for further replies.
Top