Is there a good way to make a unit's hit points stuck? Meaning it becomes inchangable in spite of damage, healing and regeneration.
Using a periodic timer to reset HP to a var is one way. But it doesn't prevent death if one instance of damage exceeds HP.
Using a damage taken event is also a way. But it doesn't stop regeneration and healing.
I guess I could combine those two methods, but I would like to know if there is a better way.
Thanks in advance
Using a periodic timer to reset HP to a var is one way. But it doesn't prevent death if one instance of damage exceeds HP.
Using a damage taken event is also a way. But it doesn't stop regeneration and healing.
I guess I could combine those two methods, but I would like to know if there is a better way.
Thanks in advance