Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding wood hoe:
- cancel the event
- player's tool is enchanted with unbreaking 214
- if level of player is more than 60:
- set {_cooldown} to difference between {Heal.%player%.lastused} and now
- if {_cooldown} is less than 100 seconds:
- play "entity_ghast_shoot" to player at volume 10
- create a circle effect at player with id "HealFailed" with particles SMOKE NORMAL with radius 1
- message "<pink>%difference between 10 seconds and {_cooldown}% <white>後に使用可能"
- wait 20 tick
- stop effect "HealFailed"
- stop
- loop players in radius 5 around the player:
- play "entity_player_levelup" to loop-player at volume 10
- add 20 to loop-player's health
- set player's food level to 10
- reduce level progress of player by 60
- create a circle effect for loop-player with id "HEAL" with particles HEART with radius 1
- set {Heal.%player%.lastused} to now
- wait 60 tick
- stop effect "HEAL"
- else:
- play "entity_ghast_shoot" to player at volume 10
- create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
- message "<pink>このスキルには60Lv以上のXPが必要です!"
- wait 20 tick
- stop effect "Failed"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement