Map system help
I feel very stupid for asking this, seems as if it should be a very simple trigger.
Essentially I want every unit who's custom value is 1 to have steadily lowering health and mana on a time interval.
I feel very stupid for asking this, seems as if it should be a very simple trigger.
Essentially I want every unit who's custom value is 1 to have steadily lowering health and mana on a time interval.
-
Events
- Time - Every 5.00 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Custom value of (Picked unit)) Equal to 1
-
Then - Actions
- Unit - Set life of (Picked unit) to ((Percentage life of (Picked unit)) - 2.00)%
- Unit - Set mana of (Picked unit) to ((Percentage mana of (Picked unit)) - 2.00)%
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Last edited: