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
- set {snowballCCITime::%victim%} to 20
- 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 {snowballCCITime::%loop-player%} > 0:
- reduce {snowballCCITime::%loop-player%} by 1
- else:
- set {snowballCCI::%victim%} to false
Advertisement
Add Comment
Please, Sign In to add comment