upoupo0201

粘着ボール

Nov 2nd, 2024
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on projectile hit:
  2. projectile is a snowball
  3. shooter is a player
  4. if victim is a player:
  5. if {snowballCCI::%victim%} is false:
  6. apply slowness 10 to the victim for 5 seconds
  7. set {stun::%victim%} to true
  8. set {snowballCCI::%victim%} to true
  9. wait 5 seconds
  10. delete {stun::%victim%}
  11.  
  12. on damage:
  13. attacker is player
  14. victim is player
  15. if {stun::%victim%} is set:
  16. damage victim by 1 hearts
  17.  
  18. every 1 seconds:
  19. loop all players:
  20. if {snowballCCI::%loop-player%} is set:
  21. if (current time - {snowballCCI::%loop-player%::time}) >= 20:
  22. delete {snowballCCI::%loop-player%}
  23. send "スノーボールの効果が解除されました!" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment