Hey guys, just wanted to ask why my trigger doesn't seem to be working. I;m not the best at triggering custom spells but from what I can see this trigger should be working. The spell does this :
Nikoro turns to a more defensive stance the more enemy heroes are around him. If there is 1 enemy hero near Nikoro, his armor will increase by 2. If there are 2 enemy heroes near Nikoro his armor will increase by 3. If there is 3 or more enemy heroes around Nikoro, his armor will increase by 4.5.
This ability has 4 levels, first level is + 0 armor, second level is + 2 armor and so on. The trigger for this is: (I will only show you the first few lines because its a long trigger.)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units within 700.00 of (Position of Human_Samurai) matching ((((Triggering unit) is A Hero) Equal to True) and (((Triggering player) is an enemy of (Owner of Human_Samurai)) Equal to True)))) Equal to 0
Then - Actions
Unit - Set level of Defensive Stance for Human_Samurai to 1
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units within 700.00 of (Position of Human_Samurai) matching ((((Triggering unit) is A Hero) Equal to True) and (((Triggering player) is an enemy of (Owner of Human_Samurai)) Equal to True)))) Equal to 1
Then - Actions
Unit - Set level of Defensive Stance for Human_Samurai to 2
Else - Actions
Any ideas why this doesn't work? If you need more information I can provide that. Oh and the basic ability used is Devotion Aura.
Thanks
Nikoro turns to a more defensive stance the more enemy heroes are around him. If there is 1 enemy hero near Nikoro, his armor will increase by 2. If there are 2 enemy heroes near Nikoro his armor will increase by 3. If there is 3 or more enemy heroes around Nikoro, his armor will increase by 4.5.
This ability has 4 levels, first level is + 0 armor, second level is + 2 armor and so on. The trigger for this is: (I will only show you the first few lines because its a long trigger.)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units within 700.00 of (Position of Human_Samurai) matching ((((Triggering unit) is A Hero) Equal to True) and (((Triggering player) is an enemy of (Owner of Human_Samurai)) Equal to True)))) Equal to 0
Then - Actions
Unit - Set level of Defensive Stance for Human_Samurai to 1
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units within 700.00 of (Position of Human_Samurai) matching ((((Triggering unit) is A Hero) Equal to True) and (((Triggering player) is an enemy of (Owner of Human_Samurai)) Equal to True)))) Equal to 1
Then - Actions
Unit - Set level of Defensive Stance for Human_Samurai to 2
Else - Actions
Any ideas why this doesn't work? If you need more information I can provide that. Oh and the basic ability used is Devotion Aura.
Thanks