Health Trigger

monar

New Member
Reaction score
0
Why this trigger dont work?

Code:
    Events
        Time - Every 5.00 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in (Units of type Human) and do (Actions)
            Loop - Actions
                Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 1.00)

Thx for all help
;)
 

Omni

Ultra Cool Member
Reaction score
37
Well, whats wrong with it?
and whats "Human"
a unit type
a classification??

and btw to prevent massive leakingput this custom script in front of the "pick every unit"

JASS:
 

monar

New Member
Reaction score
0
Human is unit type.

Whats wrong? It dont work...

It doesnt decrease health every 5s
 

ArmedCitizen

Kisses Cats
Reaction score
198
Maybe the units just regenerate it before you can notice. Make sure the units don't have any regeneration fields filled.

These are the fields.

Code:
Stats - Hit Points Regeneration Rate
Stats - Hit Points Regeneration Type
 
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