- Joined
- Jul 30, 2010
- Messages
- 57
I would like to know what's the problem with this trigger.
Curse of Blood fim do buff
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in Targets_Cursed_By_Blood and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has buff Curse of Blood ) Equal to False
Then - Actions
Unit Group - Remove (Picked unit) from Targets_Cursed_By_Blood
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in Targets_Cursed_By_Blood) Equal to 0
Then - Actions
Trigger - Turn off (This trigger)
Else - Actions
Do nothing
This trigger was supossed to check when the buff (Curse of blood) wears off or is purged and remove the unit from the group (Targets Cursed BY Blood) but for some reason the units are being removed from the group they having the buff or not.
Curse of Blood fim do buff
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in Targets_Cursed_By_Blood and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has buff Curse of Blood ) Equal to False
Then - Actions
Unit Group - Remove (Picked unit) from Targets_Cursed_By_Blood
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in Targets_Cursed_By_Blood) Equal to 0
Then - Actions
Trigger - Turn off (This trigger)
Else - Actions
Do nothing
This trigger was supossed to check when the buff (Curse of blood) wears off or is purged and remove the unit from the group (Targets Cursed BY Blood) but for some reason the units are being removed from the group they having the buff or not.