• 🏆 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!

Bug: EVENT_UNIT_DAMAGED and magic leash.

Status
Not open for further replies.
Level 11
Joined
Oct 11, 2012
Messages
711
I found a bug when I was testing a spell.
I use "EVENT_UNIT_DAMAGED" as the basis for a damage reduction and reflection ability(passive ability), which I add life to the hero based on the damage and reflect it to the casting unit. However, when the Hero with this ability is attacked by magic leash, the magic leash will become permanent even when the casting unit is dead... As a result, the hero cannot move unless he dies.
Anyone encountered this before? If so, any idea how to fix it?

Thanks a lot.
 
Status
Not open for further replies.
Top