CREAMPAN0408

Untitled

Feb 21st, 2019
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. 耐久4 CT 金の鍬 💛10個分体力回復 CT共有
  2. on rightclick holding golden hoe:
  3. cancel the event
  4. player's tool is enchanted with unbreaking 4
  5. if level of player is more than 0:
  6. set {_cooldown} to difference between {Heal.%player%.lastused} and now
  7. if {_cooldown} is less than 50 seconds:
  8. play "entity_ghast_shoot" to player at volume 10
  9. create a circle effect at player with id "HealFailed" with particles SMOKE NORMAL with radius 1
  10. message "<pink>%difference between 10 seconds and {_cooldown}% <white>後に使用可能"
  11. wait 20 tick
  12. stop effect "HealFailed"
  13. stop
  14. loop players in radius 5 around the player:
  15. play "entity_player_levelup" to loop-player at volume 10
  16. add 20 to loop-player's food level
  17. reduce level progress of player by 45
  18. create a circle effect for loop-player with id "HEAL" with particles DAMAGE INDICATOR with radius 1
  19. set {Heal.%player%.lastused} to now
  20. wait 60 tick
  21. stop effect "HEAL"
  22. else:
  23. play "entity_ghast_shoot" to player at volume 10
  24. create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  25. message "<pink>このスキルには45Lv以上のXPが必要です!"
  26. wait 20 tick
  27. stop effect "Failed"
Add Comment
Please, Sign In to add comment