Hey there,
I tried to make a trigger that will make my tower cast disple on units that has certain buff (bloodlust for example), it worked but not flawlessly.
The problem I am having is when 1 unit doesn't have bloodlust and the whole group around it have the buff, it wouldn't cast disple.
here is my trigger:
Obstacle Tower Magic Disple
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Obstacle Tower (Level 2)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Attacked unit) is in (Units within 300.00 of (Position of (Attacked unit)) matching (((Matching unit) has buff Bloodlust) Equal to True))) Equal to True
Then - Actions
Unit - Order (Attacking unit) to Human Priest - Dispel (Attacked unit)
Else - Actions
What I want is that my tower will cast disple even if only 1 units within range has the bloodlust.
thanks in advance
I tried to make a trigger that will make my tower cast disple on units that has certain buff (bloodlust for example), it worked but not flawlessly.
The problem I am having is when 1 unit doesn't have bloodlust and the whole group around it have the buff, it wouldn't cast disple.
here is my trigger:
Obstacle Tower Magic Disple
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Obstacle Tower (Level 2)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Attacked unit) is in (Units within 300.00 of (Position of (Attacked unit)) matching (((Matching unit) has buff Bloodlust) Equal to True))) Equal to True
Then - Actions
Unit - Order (Attacking unit) to Human Priest - Dispel (Attacked unit)
Else - Actions
What I want is that my tower will cast disple even if only 1 units within range has the bloodlust.
thanks in advance