I'm making a trigger that will reset boss' health if army fails to kill him but can't get it to work. Here's my trigger
-
BOSS HEALTH RESET
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
Set TempPoint = (Position of Mannoroth (Level 60) 0272 <gen>)
-
Set TempGroup = (Units within 1000.00 of TempPoint matching (((Attacked unit) belongs to an ally of Player 1 (Red)) Equal to True))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in TempGroup) Equal to 0
-
-
Then - Actions
-
Unit - Set life of Mannoroth (Lvel 60) 0272 <gen> to 100.00%
-
-
Else - Actions
-
Custom script: call DestroyGroup(udg_TempGroup)
-
Custom script: call RemoveLocation(udg_TempPoint)
-
-
-
-