merlinds
Member
- Reaction score
- 15
Hi everybody,
Im trying to creat a skill that makes the hero to not take any damage during a period, not invulnerable only make the unit to not take damage. The skill will be some thing like "Pain Killer" you activate it and consumes mana whiles make you un-damagable. Then if you get out of mana or turn it off you return to normal with the same life that you have before.
I have the idea to use the "Damage Taken" option and after the damage is taken heal the unit for the same amount. But the problem is that if the damage taken is grater than the remaining llife of the uni it will kill it.
Please help me!
Thx you all!
Sry for my english!
Im trying to creat a skill that makes the hero to not take any damage during a period, not invulnerable only make the unit to not take damage. The skill will be some thing like "Pain Killer" you activate it and consumes mana whiles make you un-damagable. Then if you get out of mana or turn it off you return to normal with the same life that you have before.
I have the idea to use the "Damage Taken" option and after the damage is taken heal the unit for the same amount. But the problem is that if the damage taken is grater than the remaining llife of the uni it will kill it.
Please help me!
Thx you all!
Sry for my english!