So for a Boss unit in my map, spells are triggered based on when he attacks. When his HP falls below 35%, he attempts to use his Ultimate, a Starfall-type spell (the trick being that said spell has a requirement that the Sentry Ward be out first - because he's blind and has no line of sight otherwise).
However, for some reason, whenever his life falls below 35%, he instead "freezes" and becomes totally unresponsive and immobile, unless struck with a disabling effect like Cyclone - in which case he resumes like normal.
However, for some reason, whenever his life falls below 35%, he instead "freezes" and becomes totally unresponsive and immobile, unless struck with a disabling effect like Cyclone - in which case he resumes like normal.
-
Althrics Spells
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-


(Unit-type of (Attacking unit)) Equal to Althric the Blind
-
-

Actions
-


Trigger - Turn off (This trigger)
-


Trigger - Run Turn on Althric Spells <gen> (ignoring conditions)
-


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



If - Conditions
-




AlthricCanCastMeteor Equal to True
-
-



Then - Actions
-




Unit - Order (Attacking unit) to Night Elf Priestess Of The Moon - Starfall
-




Unit - Add Spell Immunity (Neutral Hostile) to (Attacking unit)
-




Set AlthricCanCastMeteor = False
-
-



Else - Actions
-




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





If - Conditions
-






(Life of (Attacking unit)) Less than or equal to ((Max life of (Attacking unit)) x 0.35)
-
-





Then - Actions
-






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







If - Conditions
-








AlthricCanCastWave Equal to True
-
-







Then - Actions
-








Set BossTempPoint = (Position of (Attacked unit))
-








Unit - Order (Attacking unit) to Undead Dreadlord - Carrion Swarm BossTempPoint
-








Custom script: call RemoveLocation(udg_BossTempPoint)
-








Set AlthricCanCastWave = False
-








Wait 11.00 game-time seconds
-








Set AlthricCanCastWave = True
-
-







Else - Actions
-








Set BossTempPoint = (Position of (Attacking unit))
-








Set BossTempPoint2 = (Random point in (Region centered at BossTempPoint with size (300.00, 300.00)))
-








Unit - Order (Attacking unit) to Orc Witch Doctor - Sentry Ward BossTempPoint2
-








Custom script: call RemoveLocation(udg_BossTempPoint)
-








Custom script: call RemoveLocation(udg_BossTempPoint2)
-








Set AlthricCanCastMeteorWard = False
-
-
-
-





Else - Actions
-






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







If - Conditions
-








AlthricCanCastWave Equal to True
-
-







Then - Actions
-








Set BossTempPoint = (Position of (Attacked unit))
-








Unit - Order (Attacking unit) to Undead Dreadlord - Carrion Swarm BossTempPoint
-








Unit - Order (Attacking unit) to Attack-Move To BossTempPoint
-








Custom script: call RemoveLocation(udg_BossTempPoint)
-








Set AlthricCanCastWave = False
-








Wait 11.00 game-time seconds
-








Set AlthricCanCastWave = True
-
-







Else - Actions
-
-
-
-
-
-
-
-
Turn on Althric Spells
-

Events
-

Conditions
-

Actions
-


Wait 0.50 game-time seconds
-


Trigger - Turn on Althrics Spells <gen>
-
-



