Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage of a player:
- attacker is a player
- if {%attacker%-combo} is set:
- if {%attacker%-combo} != 3:
- add 1 to {%attacker%-combo}
- else if {%attacker%-combo} = 3:
- push victim (direction from attacker to location of victim) at speed 2
- delete {%attacker%-combo}
- else if {%attacker%-combo} is not set:
- add 1 to {%attacker%-combo}
- delete {%victim%-combo}
- set {_n} to {%attacker%-combo}
- loop 5 times:
- if {_n} != {%attacker%-combo}:
- set {_b} to 1
- stop loop
- else if {_n} = {%attacker%-combo}:
- wait second
- {_b} is not set
- delete {%attacker%-combo}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement