Advertisement
Guest User

Untitled

a guest
Oct 16th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None | 0 0
  1. #! Explosive Arrow
  2.  
  3. on projectile hit:
  4. # damage cause is projectile
  5. shooter is a player
  6. shooter is holding a bow:
  7. if difference between {Enchant.explosion.timer} and now is less than 5 seconds:
  8. stop
  9. else:
  10. set {Enchant.explosion.timer} to now
  11. if lore of shooter's tool contains "&7Explosive Arrow I":
  12. chance of 3%
  13. create an explosion of strength 1 at event-location
  14. wait 1 second
  15. delete event-entity
  16. "%lore of shooter's tool%" contains "&7Explosive Arrow II":
  17. chance of 5%
  18. create an explosion of strength 2 at event-location
  19. wait 1 second
  20. delete event-entity
  21. "%lore of shooter's tool%" contains "&7Explosive Arrow III":
  22. chance of 7%
  23. create an explosion of strength 3 at event-location
  24. wait 1 second
  25. delete event-entity
  26. "%lore of shooter's tool%" contains "&7Explosive Arrow IV":
  27. chance of 8%
  28. create an explosion of strength 4 at event-location
  29. wait 1 second
  30. delete event-entity
  31. "%lore of shooter's tool%" contains "&7Explosive Arrow V":
  32. chance of 100%
  33. create an explosion of strength 5 at event-location
  34. wait 1 second
  35. delete event-entity
  36.  
  37. on damage:
  38. # damage cause is projectile
  39. attacker is a player
  40. attacker is holding a bow:
  41. lore of attacker's tool contains "&7Spider Spawn I":
  42. chance of 10%:
  43. spawn spider at victim
  44. lore of attacker's tool contains "&7Spider Spawn II":
  45. chance of 20%:
  46. spawn spider at victim
  47. lore of attacker's tool contains "&7Spider III":
  48. chance of 30%:
  49. spawn spider at victim
  50.  
  51. on damage:
  52. # damage cause is projectile
  53. attacker is a player
  54. attacker is holding a bow:
  55. lore of attacker's tool contains "&7Poison Arrow I":
  56. chance of 10%:
  57. apply poison 1 to victim for 5 seconds
  58. lore of attacker's tool contains "&7Poison Arrow II":
  59. chance of 20%:
  60. apply poison 1 to the victim for 5 seconds
  61. lore of attacker's tool contains "&7Poison Arrow III":
  62. chance of 10%:
  63. apply poison 2 to the victim for 4 seconds
  64. lore of attacker's tool contains "&7Poison Arrow IV":
  65. chance of 20%:
  66. apply poison 2 to the victim for 4 seconds
  67. lore of attacker's tool contains "&7Poison Arrow V":
  68. chance of 25%:
  69. apply poison 2 to the victim for 4 seconds
  70.  
  71.  
  72.  
  73. on damage:
  74. # damage cause is projectile
  75. attacker is holding a bow
  76. lore of attacker's tool contains "&7Recycler I":
  77. chance of 30%:
  78. give attacker an arrow
  79. stop
  80. lore of attacker's tool contains "&7Recycler II":
  81. chance of 50%:
  82. give attacker an arrow
  83. stop
  84. lore of attacker's tool contains "&7Recycler III":
  85. chance of 70%:
  86. give attacker an arrow
  87. stop
  88.  
  89. on damage:
  90. # "%damage cause%" is "projectile"
  91. attacker is a player
  92. attacker is holding a bow
  93. lore of attacker's tool contains "&7Electric Arrow I":
  94. chance of 20%:
  95. strike lightning at the victim
  96. lore of attacker's tool contains "&7Electric Arrow II":
  97. chance of 40%:
  98. strike lightning at the victim
  99.  
  100. on damage:
  101. # damage cause is projectile
  102. attacker is a player
  103. attacker is holding a bow
  104. lore of attacker's tool contains "&7Skyhigh I":
  105. chance of 10%:
  106. cancel event
  107. push victim upward at speed 0.7
  108. set {_damage} to damage
  109. damage victim by {_damage}
  110. lore of attacker's tool contains "&7Skyhigh II":
  111. chance of 20%:
  112. cancel event
  113. push victim upward at speed 0.5
  114. set {_damage} to damage
  115. damage victim by {_damage}
  116. lore of attacker's tool contains "&7Skyhigh III":
  117. chance of 20%:
  118. cancel event
  119. push victim upward at speed 0.7
  120. set {_damage} to damage
  121. damage victim by {_damage}
  122. lore of attacker's tool contains "&7Skyhigh IV":
  123. chance of 20%:
  124. cancel event
  125. push victim upward at speed 1
  126. set {_damage} to damage
  127. damage victim by {_damage}
  128. lore of attacker's tool contains "&7Skyhigh V":
  129. chance of 30%:
  130. cancel event
  131. push victim up at speed 1.2
  132. set {_damage} to damage
  133. damage victim by {_damage}
  134.  
  135. on damage:
  136. if "%damage cause%" is "projectile":
  137. if attacker is a player:
  138. if attacker is holding a bow:
  139. if lore of attacker's tool contains "&7Skyhigh V":
  140. chance of 30%:
  141. push victim up at speed 1.2
  142. set {_damage} to damage
  143. damage victim by {_damage}
  144. #! Wolf spawn
  145.  
  146. on damage:
  147. attacker is a player
  148. attacker is holding a bow:
  149. lore of attacker's tool contains "Wolf Spawn I":
  150. chance of 4%:
  151. spawn 1 angry wolf behind the victim
  152. set the name of the spawned wolf to "&b%attacker%'s wolf"
  153. set the target of the spawned wolf to the victim
  154. play raw sound "random.orb" at attacker with pitch 1 volume 3
  155. wait for 10 seconds
  156. kill the spawned wolf
  157. lore of attacker's tool contains "Wolf Spawn II":
  158. chance of 7%:
  159. spawn 1 angry wolf behind the victim
  160. set the name of the spawned wolf to "&b%attacker%'s wolf"
  161. set the target of the spawned wolf to the victim
  162. play raw sound "random.orb" at attacker with pitch 1 volume 3
  163. wait for 15 seconds
  164. kill the spawned wolf
  165. lore of attacker's tool contains "Wolf Spawn III":
  166. chance of 10%:
  167. spawn 1 angry wolf behind the victim
  168. set the name of the spawned wolf to "&b%attacker%'s wolf"
  169. set the target of the spawned wolf to the victim
  170. play raw sound "random.orb" at attacker with pitch 1 volume 3
  171. wait for 20 seconds
  172. kill the spawned wolf
  173. lore of attacker's tool contains "Wolf Spawn IV":
  174. chance of 13%:
  175. spawn 1 angry wolf behind the victim
  176. set the name of the spawned wolf to "&b%attacker%'s wolf"
  177. set the target of the spawned wolf to the victim
  178. play raw sound "random.orb" at attacker with pitch 1 volume 3
  179. wait for 20 seconds
  180. kill the spawned wolf
  181. lore of attacker's tool contains "Wolf Spawn V":
  182. chance of 15%:
  183. spawn 1 angry wolf behind the victim
  184. set the name of the spawned wolf to "&b%attacker%'s wolf"
  185. set the target of the spawned wolf to the victim
  186. play raw sound "random.orb" at attacker with pitch 1 volume 3
  187. wait for 20 seconds
  188. kill the spawned wolf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement