Anyone has any idea how to make an ability that has a chance to reduce damage taken to 0. Spell damage included. I made an ability with a chance to nulify physical damage, but I have no clue how to nulify magic (spell) damage.
I tried to save the unit's life 2 or 3 times per second and when it takes damage - it has a chance to be returned to the saved value of its life, but this way sometimes you can see its life going down and then almost instantly going back to where it was.
I want something, that can't be noticed.
I got the GDD detection on my map. Perhaps someone can tell me how to reduce the damage taken to 0?
I tried to save the unit's life 2 or 3 times per second and when it takes damage - it has a chance to be returned to the saved value of its life, but this way sometimes you can see its life going down and then almost instantly going back to where it was.
I want something, that can't be noticed.
I got the GDD detection on my map. Perhaps someone can tell me how to reduce the damage taken to 0?