okkunsyouta

Untitled

Jan 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. on rightclick holding diamond hoe:
  2. name of held item contains "ヒール"
  3. if level of player is more than 14:
  4. set {_cooldown} to difference between {Heal.%player%.lastused} and now
  5. if {_cooldown} is less than 30 seconds:
  6. play "entity_ghast_shoot" to player at volume 10
  7. create a circle effect at player with id "HealFailed" with particles SMOKE NORMAL with radius 1
  8. message "<pink>%difference between 30 seconds and {_cooldown}% <gray>後に使用可能"
  9. wait 20 tick
  10. stop effect "HealFailed"
  11. stop
  12. play "entity_player_levelup" to player at volume 10
  13. loop players in radius 5 around the player:
  14. add 4 to loop-player's health
  15. reduce level progress of player by 15
  16. create a circle effect for loop-player with id "HEAL" with particles HEART with radius 1
  17. set {Heal.%player%.lastused} to now
  18. wait 60 tick
  19. stop effect "HEAL"
  20. else:
  21. play "entity_ghast_shoot" to player at volume 10
  22. create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  23. message "<pink>このスキルを使うにはMPが15以上必要です"
  24. wait 20 tick
  25. stop effect "Failed"
Advertisement
Add Comment
Please, Sign In to add comment