Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on projectile hit:
- projectile is a snowball
- shooter is a player
- if victim is a player:
- if {snowballCCI::%victim%} is false:
- apply slowness 10 to the victim for 5 seconds
- set {stun::%victim%} to true
- set {snowballCCI::%victim%} to true
- wait 5 seconds
- delete {stun::%victim%}
- on damage:
- attacker is player
- victim is player
- if {stun::%victim%} is set:
- damage victim by 1 hearts
- every 1 seconds:
- loop all players:
- if {snowballCCI::%loop-player%} is set:
- if (current time - {snowballCCI::%loop-player%::time}) >= 20:
- delete {snowballCCI::%loop-player%}
- send "スノーボールの効果が解除されました!" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment