So i have this aura that adds Hp, when ever other units are near by.
Is there anyway to increase their hp by X% of ther own max instead of adding flat hp?
Is there anyway to increase their hp by X% of ther own max instead of adding flat hp?
-
Health Aura
-
Events
-
Time - Every 0.20 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in Mages_Copy[0] and do (Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 900.00 of (Position of (Picked unit))) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) has buff Health Aura ) Equal to True
-
-
Then - Actions
-
Unit - Add Aoe Max hp (Greater) to (Picked unit)
-
-
Else - Actions
-
-
-
-
-
-
Unit Group - Pick every unit in (Units within 1000000000.00 of (Center of (Playable map area))) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) has buff Health Aura ) Equal to False
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Aoe Max hp (Greater) for (Picked unit)) Equal to 1
-
-
Then - Actions
-
Unit - Remove Aoe Max hp (Greater) from (Picked unit)
-
-
Else - Actions
-
Do nothing
-
-
-
-
Else - Actions
-
-
-
-
-