Advertisement
yozora_1202

Untitled

Jun 28th, 2018
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. on crackshot reload:
  2. if player's tool is not enchanted with Unbreaking:
  3. chance of 50%
  4. enchant player's tool with Unbreaking 5
  5. message "<pink>耐久力減少!"
  6. stop
  7. if player's tool is enchanted with Unbreaking 5:
  8. chance of 10%
  9. enchant player's tool with Unbreaking 4
  10. message "<pink>耐久力減少!"
  11. stop
  12. if player's tool is enchanted with Unbreaking 4:
  13. chance of 10%
  14. enchant player's tool with Unbreaking 3
  15. message "<pink>耐久力減少!"
  16. stop
  17. if player's tool is enchanted with Unbreaking 3:
  18. chance of 10%
  19. enchant player's tool with Unbreaking 2
  20. message "<pink>耐久力減少!"
  21. stop
  22. if player's tool is enchanted with Unbreaking 2:
  23. chance of 10%
  24. enchant player's tool with Unbreaking 1
  25. message "<pink>武器が壊れそうだ!"
  26. stop
  27. if player's tool is enchanted with Unbreaking 1:
  28. chance of 80%
  29. remove player's tool from the player's inventory
  30. message "<pink>武器が壊れた!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement