Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- On Drop:
- cancel the event
- player's tool is enchanted with PROTECTION 6
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if player's food level > 0:
- if {_cooldown} is less than 20 seconds:
- message "&4%difference between 20 seconds and {_cooldown}% &6after one more use"
- stop
- loop all entities in radius 2 around the player:
- loop-entities is not players
- damage loop-entities by {jukurendo.%player%.sword} / 2 hearts
- show 50 Explosion Large particles at location of player with color 100, 100, 100 offset by 2, 1, 2 with speed 0.2
- set {skill.%player%.lastused} to now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement