Increase Max Life of Unit (Arithmetic Number)

Fluffball

Well-Known Member
Reaction score
35
I want to make a spell that reduces a unit's max life, then puts it back to normal after 8 seconds.
Is it possible? I've looked everywhere, but it's probably right under my nose.
 

Igor_Z

You can change this now in User CP.
Reaction score
61
This can be done by upgrade that adds hp... I have done a spell with an upgrade so my hero will gain 1 hp to its max hp for every creep killed... But ur ability isn't passive... Try something with an upgrade!!!Make 2 upgrades 1 with negative hp gaining use ''Shift'' button + left click from ur mouse to set negative numbers, and 1 with positive. This should do it i think:

E: A unit starts the effects of an ability
C: Ability being cast equal to (your ability)
A: Set lvl of Negative upgrade for owner of casting unit to 1
Wait 8 seconds
Set lvl of negative upgrade for owner of casting unit to 0
 

vypur85

Hibernate
Reaction score
803
> probably right under my nose.

This and this may help. (Both are Tom Jones' :p).

And reducing a unit's max life can most probably bug. Be careful with what you're doing. If the life reduced is too much till it kills and the life becomes negative number, the hero will be revived with infinite lives, if I'm not mistaken.
 

Fluffball

Well-Known Member
Reaction score
35
Hmm, maybe I can debug it somehow... I'll figure it out.

Code:
Does not work if the unit is under 10% health.
:eek:

Any way of doing it in percentages?
 
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