- Joined
- Feb 18, 2016
- Messages
- 96
Hello
Does somebody know a way to make all sources of healing (like lifesteals, spells, and even unit regeneration) in a certain area
I tried to do it by myself but it did not work
Does somebody know a way to make all sources of healing (like lifesteals, spells, and even unit regeneration) in a certain area
I tried to do it by myself but it did not work
-
Anular
-

Events
-


Time - Every 0.5 seconds of game time
-
-

Conditions
-

Actions
-


Set Center = Tower <gen>
-


Set APOINTTEMP = (Position of Center)
-


Set Group = (Units within 400.00 of APOINTTEMP)
-


Custom script: call RemoveLocation (udg_APOINTTEMP)
-


Unit Group - Pick every unit in Group and do (Actions)
-



Loop - Actions
-




Set Real = (Life of (Picked unit))
-




Wait 0.45 seconds
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Life of (Picked unit)) Greater than Real
-
-





Then - Actions
-






Unit - Set life of (Picked unit) to Real
-
-





Else - Actions
-
-
-
-


Custom script: call DestroyGroup (udg_Group)
-
-







