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