CloverSEQ

Tajemniczy Prezent!

Feb 21st, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. on death:
  2. chance of {@procent}%:
  3. give {@ilosc} {@item} named "&6Tajemniczy Prezent!" to attacker
  4. send "&7> &aMiales farta i przy zabiciu gracza zdobyles jeden Tajemniczy prezent!" to attacker #Wiadomosc gdy otrzymamy nagrode.
  5.  
  6. command dajprezent [<text>] [<text>]:
  7. permission: "prezent.sk"
  8. permission message: "&7> &cNie masz uprawien aby uzywac ta komende!"
  9. trigger:
  10. if arg 1 is "prezent":
  11. if arg 2 is "1":
  12. give player 1 book of protection 4, unbreaking 3 named "&6Tajemniczy Prezent!"
  13.  
  14. on rightclick holding a book:
  15. if name of tool of player is "&6Tajemniczy Prezent!":
  16. remove 1 book named "&6Tajemniczy Prezent!" from player
  17. chance of 50%:
  18. give player 1 bow named "Poniszczony Luk"
  19. send "&7> &aZdobyles Poniszczony luk!"
  20. stop
  21. chance of 50%:
  22. give player 1 diamond chestplate named "Zbroja bogow!"
  23. send "&7> &aZdobyles zbroje bogow!"
  24. stop
Advertisement
Add Comment
Please, Sign In to add comment