Daltonez

EnchEz - Skript by Daltonez for skript.pl

Oct 5th, 2016
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. # Nazwa: EnchEZ
  2. # Autor: DaltonEZ
  3. # Wersja: 1.1
  4.  
  5. # Zakaz usuwanie podpisu autora skriptu.
  6. # Zakaz podpisywania skriptu wlasnym nickiem.
  7. options:
  8. # Szansa na zatrucie I po uderzeniu. Pamiętaj by ustawiać w "%"
  9. TruciznaI: 35
  10. # Szansa na zatrucie II po uderzeniu. Pamiętaj by ustawiać w "%"
  11. TruciznaII: 40
  12. # Szansa na spowolnienie I po uderzeniu. Pamiętaj by ustawiać w "%"
  13. SpowolnienieI: 25
  14. # Szansa na spowolnienie II po uderzeniu. Pamiętaj by ustawiać w "%"
  15. SpowolnienieII: 30
  16. # Szansa na oślepienie I po uderzeniu. Pamiętaj by ustawiać w "%"
  17. OślepienieI: 40
  18. # Szansa na oślepienie II po uderzeniu. Pamiętaj by ustawiać w "%"
  19. OślepienieII: 50
  20.  
  21. on damage:
  22. lore of attacker's tool is "&7Trucizna I":
  23. chance of {@TruciznaI}%:
  24. remove poison from victim
  25. wait a tick
  26. apply poison 1 to victim for 5 seconds
  27. lore of attacker's tool is "&7Trucizna II":
  28. chance of {@TruciznaII}%:
  29. remove poison from victim
  30. wait a tick
  31. apply poison 2 to victim for 5 seconds
  32. lore of attacker's tool is "&7Spowolnienie I":
  33. chance of {@SpowolnienieI}%:
  34. remove slow from victim
  35. wait a tick
  36. apply slow 1 to victim for 5 seconds
  37. lore of attacker's tool is "&7Spowolnienie II":
  38. chance of {@SpowonienieII}%:
  39. remove slow from victim
  40. wait a tick
  41. apply slow 2 to victim for 5 seconds
  42. lore of attacker's tool is "&7Oślepienie I":
  43. chance of {@OślepienieI}%:
  44. remove blindness from victim
  45. wait a tick
  46. apply blindness 1 to victim for 5 seconds
  47. lore of attacker's tool is "&7Oślepienie II":
  48. chance of {@OślepienieII}%:
  49. remove blindness from victim
  50. wait a tick
  51. apply blindness 2 to victim for 5 seconds
  52.  
  53. on enchant:
  54. if event-item is diamond sword:
  55. chance of 5%:
  56. set lore of event-item to "&7Trucizna II"
  57. chance of 7%:
  58. set lore of event-item to "&7Oślepienie II"
  59. chance of 3%:
  60. set lore of event-item to "&7Spowolnienie II"
  61. chance of 10%:
  62. set lore of event-item to "&7Trucizna I"
  63. chance of 12%:
  64. set lore of event-item to "&7Oślepienie I"
  65. chance of 8%:
  66. set lore of event-item to "&7Spowolnienie I"
Advertisement
Add Comment
Please, Sign In to add comment