Anway to stop unit HP regeneration?

neckface

terrain contest winner! :) dance contest loser. :(
Reaction score
34
Im working on a spell that encases target in ice, pausing it, but making it invulnerable for a time.
Is there any way to pause the target unit's mana and HP regeneration? I can't seem to find any trigger to do so........
 

saw792

Is known to say things. That is all.
Reaction score
280
Save it's current hp and mana as a real variable at the start of the trigger, and then either:
1. Reset them when the spell ends
2. Run a periodic trigger contantly reseting them until spell ends

Option 2 is neater, but it's up to you.
 

vypur85

Hibernate
Reaction score
803
What about checking the unit's life/mana when the ability is casted, and then store them in variable. Then, use a periodic trigger to repeatingly set the target's life to that particular value. Not sure how to make it MUI though.
 

Cheddar

This is the way it was meant to be.
Reaction score
126
Doesn't Unit -- Pause Unit stop regeneration?

That or add abilities giving negative regeneration, play around with the numbers until you find the correct one (I would start with -100%, then -200%, etc)
 

Dameon

"All the power in the world resides in the eyes"
Reaction score
127
Doesn't Unit -- Pause Unit stop regeneration?

That or add abilities giving negative regeneration, play around with the numbers until you find the correct one (I would start with -100%, then -200%, etc)


Sorry man but this wont work, the unit's regen can change depending on his level, his stats, his abilitys, and his items, it would be impossible to find 1 value to nulify them all and if some how you knew you would need that same ability around 1,000 times.
 

neckface

terrain contest winner! :) dance contest loser. :(
Reaction score
34
Originally Posted by Cheddar
Doesn't Unit -- Pause Unit stop regeneration?

nope, hence my problem ;)

great, now i have some ideas to play with....
Thanks guys!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top