Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- victim is player
- victim's health is less than 2
- loop items in the victim's inventory:
- loop-item is enchanted with INFINITY 10
- chance of 50%:
- add 10 to the victim's health
- apply resistance 5 to the victim for 5 seconds
- remove loop-item from the victim
- message "<light aqua>復活の石が%victim%に生きる力を与えた!" to the victim
- message "<red>復活の石が%victim%に生きる力を与えた!" to the attacker
- create a circle effect for victim with id "LC" with particles CRIT with radius 1
- wait 5 second
- stop effect "LC"
- stop
- else:
- message "復活の石は効果を発揮しなかった" to the victim
Advertisement
Add Comment
Please, Sign In to add comment