I was considering making an aura that would give like a 10%, 20% etc chance of resurrecting a unit for a % of their total HP. This doesn't seem like it'd be a big problem. If a unit dies and it has a specific buff then run the trigger for doing it.
However the problem is obviously when a unit dies, it has no buff. ;P I also considered like, if a unit takes damage and it's below or 0.402 HP (i think this is the considered value for death) then run a resurrection on the unit. Problem is, that is a specific unit event (have to pick a unit already on the map) and can't really apply to generic units. I could make it for when a unit is attacked... however would that apply to DoTs? Like a shadow strike dot killing him, since that would be an on damage event not an on attack or am I wrong in that sense? Perhaps I shouldn't even bother with the DoT since it's practically something so small no one will notice.
I guess the other part would be for setting a % of health which is easy. But doing that based on another units skill level?
Any insight/input or help would be appreciated.
However the problem is obviously when a unit dies, it has no buff. ;P I also considered like, if a unit takes damage and it's below or 0.402 HP (i think this is the considered value for death) then run a resurrection on the unit. Problem is, that is a specific unit event (have to pick a unit already on the map) and can't really apply to generic units. I could make it for when a unit is attacked... however would that apply to DoTs? Like a shadow strike dot killing him, since that would be an on damage event not an on attack or am I wrong in that sense? Perhaps I shouldn't even bother with the DoT since it's practically something so small no one will notice.
I guess the other part would be for setting a % of health which is easy. But doing that based on another units skill level?
Any insight/input or help would be appreciated.
Last edited: