Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 必要LV45 耐久215 CT45 金の鍬 満腹度全回復
- on rightclick holding golden hoe:
- cancel the event
- player's tool is enchanted with unbreaking 215
- if level of player is more than 45:
- set {_cooldown1} to difference between {HEAL.%player%.lastused1} and now
- if {_cooldown1} is less than 45 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 {_cooldown1}% <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 food level
- reduce level progress of player by 45
- create a circle effect for loop-player with id "HEAL" with particles DAMAGE INDICATOR with radius 1
- set {HEAL.%player%.lastused1} 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>このスキルには45Lv以上のXPが必要です!"
- wait 20 tick
- stop effect "Failed"
Add Comment
Please, Sign In to add comment