Msczosnal

Zbroje

Jul 9th, 2015
522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. options:
  2. NazwaHelmu: TEST
  3. NazwaNapiersnika: Zyciodajny napiersnik
  4. command /helm:
  5. trigger:
  6. give diamond helmet named "{@NazwaHelmu}" to player
  7. command /klata:
  8. trigger:
  9. give diamond chestplate named "{@NazwaNapiersnika}" to player
  10.  
  11.  
  12. every 3 seconds:
  13. loop all players:
  14. if loop-player's chestplate is diamond chestplate named "{@NazwaNapiersnika}":
  15. set loop-player's max health to 12
  16. else:
  17. set loop-player's max health to 10
  18. if loop-player's helmet is diamond helmet named "{@NazwaHelmu}":
  19. apply resistance 1 to loop-player for 3 seconds
  20. on any movement:
  21. if player's chestplate is diamond chestplate named "{@NazwaNapiersnika}":
  22. chance of 30%:
  23. spawn 1 of particle heart offset by 0.5, 1, 0.5 at block at player's location
Advertisement
Add Comment
Please, Sign In to add comment