• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Ravage Problem

Status
Not open for further replies.
Level 4
Joined
Oct 15, 2010
Messages
71
How do i prevent ravage hitting units multiple times with an impale system?
because when i casted it, the units got hit and they went up and down until they die, and it is doing too high damage.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
The problem is the system for impaling used does not check if a unit ha already been impaled.

The only solution I found is to decrase the impale spawn intival to something like 0.1 so that they spawn fast enough that by the time the unit can be impaled again, the spell is over.

Also your spell is bug prone, you can launch yourself off the map edge with it and probably crash the game with enough effort.
 
Status
Not open for further replies.
Top