• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Trigger] Increasing max health when killing a unit doesn't work, help?

Status
Not open for further replies.
Level 3
Joined
Jul 27, 2011
Messages
27
  • Vorn HeadhunterStack
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Killing unit) Equal to Vorn
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is A Hero) Equal to True
        • Then - Actions
          • Unit - Set life of Vorn to ((Life of Vorn) + (Real((Level of Battle Hardened for Vorn))))
        • Else - Actions
          • Unit - Set life of Vorn to ((Life of Vorn) + (5.00 x (Real((Level of Battle Hardened for Vorn)))))
I just have no idéa how to make this work :vw_wtf:
 
Level 4
Joined
Jul 14, 2012
Messages
100
Ive never seen a trigger thats increases a units max HP. Maybe give the hero an ability that increases his max hp? And level it every time he kills a unit? Thats really I can think of, sorry :/
 
Level 6
Joined
Jul 8, 2012
Messages
11
hmm iirc that trigger sets unit's current life, not unit's max life

to increase unit's max life, there is a few ways that i know:

when it kills a unit, add tome that gives +hp to Vorn
when it kills a unit, add item life bonus ability to Vorn
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Of course you can level it.
If it's an ability, it can be leveled.
I hope you have explored the ability first before making a statement, right ?
Careful with this words, people would get it confused.

This ability can only support 2 consecutive levels that level before that has 0 HP, and level after that has either positive or negative value such as 50 or -50, the level after that won't work.
Let's say you have this ability and it has 4 Levels.
Level 1 - 50 HP Bonus
Level 2 - 100 HP Bonus
Level 3 - 150 HP Bonus
Level 4 - 200 HP Bonus

Of course it will work when you first add the ability to the unit, but when you level it up as (either pressing the red cross mark or via trigger), you won't get 100 HP Bonus and so on.

Of course this can be countered by making it Level 1 has 0 HP and Level -50 Bonus HP.

I guess you know this but you must be specific on these matters.
 
Status
Not open for further replies.
Top