• 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.

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