ArmyOfFrogs
New Member
- Reaction score
- 20
Can't find anything wrong with this trigger.. Any help would be appreciated.
RastaPlayerWipe is a variable set to units that are in a region before they are sent to the boss. Here's the trigger to detect the wipe
Thanks if you can spot the error ^^
RastaPlayerWipe is a variable set to units that are in a region before they are sent to the boss. Here's the trigger to detect the wipe
Trigger:
- RastaPlayerWipe
- Events
- Unit - A unit Dies
- Conditions
- ((Triggering unit) is A Hero) Equal to True
- (RastaPlayercheck <gen> contains (Triggering unit)) Equal to True
- (Unit-type of (Triggering unit)) Not equal to Dark Shaman
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- RastaPlayerWipe Greater than or equal to 1
- Then - Actions
- Set RastaPlayerWipe = (RastaPlayerWipe - 1)
- Else - Actions
- Game - Display to (All players) the text: |cffff0000Wipe on R...
- Unit - Set mana of Dark Shaman 0003 <gen> to 100.00%
- Set rastmanlock = 0
- Unit - Set life of Dark Shaman 0003 <gen> to 100.00%
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Thanks if you can spot the error ^^