Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ライフタクト
- on rightclick holding diamond hoe:
- cancel the event
- player's tool is enchanted with PROTECTION 10
- player is sneaking
- if level of player is more than 5:
- set {_cooldown} to difference between {Heal.%player%.lastused} and now
- if {_cooldown} is less than 10 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 6 to loop-player's health
- reduce level progress of player by 6
- 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>回復スキルには6Lv以上のXPが必要です!"
- wait 20 tick
- stop effect "Failed"
- #アイスショット
- on leftclick holding diamond hoe:
- player's tool is enchanted with PROTECTION 10
- if level of player is more than 0:
- set {_cooldown} to difference between {IceShot.%player%.lastused} and now
- if {_cooldown} is less than 0.5 seconds:
- stop
- play "block_glass_break" to player at volume 10
- reduce level progress of player by 1
- shoot a snowball at speed 2
- set {_num} to 0.5
- set {_Particle} to location of the block {_num} meter in front of player's head
- loop 30 times:
- show 10 water splash particles at {_Particle} offset by 0, 0, 0
- set {_num} to {_num} + 0.5
- set {_Particle} to location of the block {_num} meter infront of player's head
- if the block {_num} meter infront of player's head is not air:
- stop loop
- set {IceShot.%player%.lastused} to now
- 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>アイスショットスキルには1Lv以上のXPが必要です!"
- wait 20 tick
- stop effect "Failed"
- on damage:
- projectile is snowball
- attacker's tool is diamond hoe
- damage victim by 1 hearts
- apply slow 5 to the victim for 1 seconds
- create a circle effect at victim with id "Prison" with particles drip water with radius 1
- wait 30 tick
- stop effect "Prison"
Add Comment
Please, Sign In to add comment