Increase unit max health and health?

odd17

New Member
Reaction score
1
Hey
I have a unit with 200 hp max, i want to increase it's max HP and HP by 200 at the same time by using trigger, I tired using the ability "item life bonus" but it doesn't add 200 hp if the unit is not at full hp, for instance if the unit is 100/200 and i give it the ability "item life bonus" by trigger its health will be 200/400 not 300/400 :banghead:
 

canons200

New Member
Reaction score
50
that is warcraft 3 default setting, what you can do is to save current hp of your unit to variable, then add item life bonus to unit, next set hp of your unit to saved variable + 200
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top