Mroczny337

Drop

Apr 15th, 2015
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. Options:
  2. DropZelazo: 1.6
  3. DropZloto: 1.4
  4. DropDiax: 1.2
  5. DropWegiel: 2.4
  6. DropSzmaragd: 1.9
  7. DropProch: 1.4
  8.  
  9. on mine of diamond ore:
  10. cancel event
  11. delete block
  12. send "&8[&c*&8] &7Nie mozna kopac rud."
  13. on mine of iron ore:
  14. cancel event
  15. delete block
  16. send "&8[&c*&8] &7Nie mozna kopac rud."
  17. on mine of gold ore:
  18. cancel event
  19. delete block
  20. send "&8[&c*&8] &7Nie mozna kopac rud."
  21. on mine of emerald ore:
  22. cancel event
  23. delete block
  24. send "&8[&c*&8] &7Nie mozna kopac rud."
  25.  
  26. on mine of stone:
  27. if player is in world "world":
  28. give 15 xp to the player
  29. if tool of the player is not enchanted with fortune:
  30. chance of {@DropZelazo}%:
  31. give a random number between 1 and 3 of iron ingot to the player
  32. chance of {@DropZloto}%:
  33. give a random number between 1 and 3 of gold ingot to the player
  34. chance of {@DropDiax}%:
  35. give a random number between 1 and 3 of diamond to the player
  36. chance of {@DropWegiel}%:
  37. give a random number between 1 and 3 of coal to the player
  38. chance of {@DropSzmaragd}%:
  39. give a random number between 1 and 3 of emerald to the player
  40. chance of {@DropProch}%:
  41. give a random number between 1 and 3 of gunpowder to the player
  42.  
  43. if tool of the player is enchanted with fortune 1 or fortune 2:
  44. chance of {@DropZelazo}%:
  45. give a random number between 1 and 4 of iron ingot to the player
  46. chance of {@DropZloto}%:
  47. give a random number between 1 and 4 of gold ingot to the player
  48. chance of {@DropDiax}%:
  49. give a random number between 1 and 4 of diamond to the player
  50. chance of {@DropWegiel}%:
  51. give a random number between 1 and 4 of coal to the player
  52. chance of {@DropSzmaragd}%:
  53. give a random number between 1 and 4 of emerald to the player
  54. chance of {@DropProch}%:
  55. give a random number between 1 and 4 of gunpowder to the player
  56.  
  57. if tool of the player is enchanted with fortune 3:
  58. chance of {@DropZelazo}%:
  59. give a random number between 1 and 5 of iron ingot to the player
  60. chance of {@DropZloto}%:
  61. give a random number between 1 and 5 of gold ingot to the player
  62. chance of {@DropDiax}%:
  63. give a random number between 1 and 5 of diamond to the player
  64. chance of {@DropWegiel}%:
  65. give a random number between 1 and 5 of coal to the player
  66. chance of {@DropSzmaragd}%:
  67. give a random number between 1 and 5 of emerald to the player
  68. chance of {@DropProch}%:
  69. give a random number between 1 and 5 of gunpowder to the player
  70.  
  71. command /Drop:
  72. aliases: kamien, stone, surowce
  73. trigger:
  74. send "&8&m====="
  75. send " &7Zelazo &b{@DropZelazo}"
  76. send " &7Zloto &b{@DropZloto}"
  77. send " &7Diament &b{@DropDiax}"
  78. send " &7Wegiel &b{@DropWegiel}"
  79. send " &7Szmaragd &b{@DropSzmaragd}"
  80. send " &7Proch &b{@DropProch}"
  81. send "&8&m====="
Advertisement
Add Comment
Please, Sign In to add comment