knugi

Untitled

Jun 30th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. options:
  2. #Exp z danych potworków
  3.  
  4. expZombie: 1
  5. expSkeleton: 2
  6. expSpiderCave: 3
  7. expSpider: 5
  8. expPigMan: 10
  9. expSilverFish: 18
  10. expSlime: 25
  11. expWither: 30
  12. expBlaze: 50
  13. expMagma: 75
  14. expIronGolem: 50
  15. expWolf: 20
  16.  
  17.  
  18. on exp spawn:
  19. cancel event
  20. on death:
  21. loop all players:
  22. if loop-player is "%victim%":
  23. stop
  24. if loop-player is "%attacker%":
  25. send "%victim%" to attacker
  26. set {_next} to true
  27. exit loop
  28. if {_next} is set:
  29. if victim is zombie:
  30. chance of 70%:
  31. send "&2+&a{@expZombie}" to attacker
  32. add {@expZombie} exp to attacker
  33. if victim is skeleton:
  34. if level of attacker is larger than or equal to 2:
  35. chance of 50%:
  36. send "&2+&a{@expSkeleton}" to attacker
  37. add {@expSkeleton} exp to attacker
  38. if victim is cave spider:
  39. if level of attacker is larger than or equal to 3:
  40. chance of 40%:
  41. send "&2+&a{@expSpiderCave}" to attacker
  42. add {@expSpiderCave} exp to attacker
  43. if victim is spider:
  44. if level of attacker is larger than or equal to 5:
  45. chance of 35%:
  46. send "&2+&a{@expSpider}" to attacker
  47. add {@expSpider} exp to attacker
  48. if victim is zombie pigman:
  49. if level of attacker is larger than or equal to 7:
  50. chance of 33%:
  51. send "&2+&a{@expPigMan}" to attacker
  52. add {@expPigMan} exp to attacker
  53. if victim is silverfish:
  54. if level of attacker is larger than or equal to 12:
  55. chance of 27%:
  56. send "&2+&a{@expSilverFish}" to attacker
  57. add {@expSilverFish} exp to attacker
  58. if victim is slime:
  59. if level of attacker is larger than or equal to 17:
  60. chance of 25%:
  61. send "&2+&a{@expSlime}" to attacker
  62. add {@expSlime} exp to attacker
  63. if victim is wither skeleton:
  64. if level of attacker is larger than or equal to 17:
  65. chance of 20%:
  66. send "&2+&a{@expWither}" to attacker
  67. add {@expWither} exp to attacker
  68. if victim is blaze:
  69. if level of attacker is larger than or equal to 30:
  70. chance of 20%:
  71. send "&2+&a{@expBlaze}" to attacker
  72. add {@expBlaze} exp to attacker
  73. if victim is magma cube:
  74. if level of attacker is larger than or equal to 40:
  75. chance of 15%:
  76. send "&2+&a{@expMagma}" to attacker
  77. add {@expMagma} exp to attacker
  78. if victim is iron golem:
  79. if level of attacker is larger than or equal to 40:
  80. chance of 20%:
  81. send "&2+&a{@expIronGolem}" to attacker
  82. add {@expIronGolem} exp to attacker
  83. if victim is wolf:
  84. if level of attacker is larger than or equal to 15:
  85. chance of 30%:
  86. send "&2+&a{@expWolf}" to attacker
  87. add {@expWolf} exp to attacker
  88. if level of attacker is larger than or equal to 105:
  89. set level of attacker to 105
  90. set level progress of attacker to 0.99
  91. stop
Advertisement
Add Comment
Please, Sign In to add comment