3plX
New Member
- Reaction score
- 3
If a unit has the bash ability, next time he casts thunder clap he will gain a command aura buff. If he casts thunder clap again, within 7 seconds, command aura will stack, up to 5 times. If he doesn't, the aura will disappear.
Trigger:
- Untitled Trigger
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Thunder Clap
- Actions
- Set cccCastingUnitttt = (Triggering unit)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Level of Bash for cccCastingUnitttt) Equal to 1) and ((((Level of Command Aura 1 for cccCastingUnitttt) Greater than 0) or ((Level of Command Aura 2 for cccCastingUnitttt) Greater than 0)) or ((Level of Command Aura 3 for cccCastingUnitttt) Greater than 0))
- Then - Actions
- Unit - Set level of Command Aura 1 for cccCastingUnitttt to ((Level of Command Aura 1 for cccCastingUnitttt) + 1)
- Set tttTimerrrr = 0
- Else - Actions
- Set tttTimerrrr = 0
- Trigger - Turn on Stack Remove Timer <gen>
- Unit - Add Command Aura 1 to cccCastingUnitttt
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Level of Bash for cccCastingUnitttt) Equal to 2) and ((((Level of Command Aura 1 for cccCastingUnitttt) Greater than 0) or ((Level of Command Aura 2 for cccCastingUnitttt) Greater than 0)) or ((Level of Command Aura 3 for cccCastingUnitttt) Greater than 0))
- Then - Actions
- Unit - Set level of Command Aura 2 for cccCastingUnitttt to ((Level of Command Aura 2 for cccCastingUnitttt) + 1)
- Set tttTimerrrr = 0
- Else - Actions
- Set tttTimerrrr = 0
- Trigger - Turn on Stack Remove Timer <gen>
- Unit - Add Command Aura 2 to cccCastingUnitttt
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Level of Bash for cccCastingUnitttt) Equal to 3) and ((((Level of Command Aura 1 for cccCastingUnitttt) Greater than 0) or ((Level of Command Aura 2 for cccCastingUnitttt) Greater than 0)) or ((Level of Command Aura 3 for cccCastingUnitttt) Greater than 0))
- Then - Actions
- Unit - Set level of Command Aura 3 for cccCastingUnitttt to ((Level of Command Aura 3 for cccCastingUnitttt) + 1)
- Set tttTimerrrr = 0
- Else - Actions
- Set tttTimerrrr = 0
- Trigger - Turn on Stack Remove Timer <gen>
- Unit - Add Command Aura 3 to cccCastingUnitttt
- If - Conditions
- Events
Trigger:
- Stack Remove Timer
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- tttTimerrrr Greater than 7
- Then - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Bash for cccCastingUnitttt) Equal to 1
- Then - Actions
- Unit - Remove Command Aura 1 from cccCastingUnitttt
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Bash for cccCastingUnitttt) Equal to 2
- Then - Actions
- Unit - Remove Command Aura 2 from cccCastingUnitttt
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Bash for cccCastingUnitttt) Equal to 3
- Then - Actions
- Unit - Remove Command Aura 3 from cccCastingUnitttt
- Else - Actions
- If - Conditions
- Set tttTimerrrr = 0
- Trigger - Turn off (This trigger)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
- Set tttTimerrrr = (tttTimerrrr + 1)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events