Advertisement
Guest User

Untitled

a guest
Jan 20th, 2014
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.87 KB | None | 0 0
  1. # ENABLE AND DISABLE COMMANDS
  2.  
  3. command /elfenable:
  4. description: Enables Eight-Legged Freaks.
  5. usage: /elfenable
  6. permission: skript.elf.enable
  7. trigger:
  8. set {ELF} to "true"
  9. broadcast "&6Eight-Legged Freaks enabled."
  10.  
  11. command /elfdisable:
  12. description: Disables Eight-Legged Freaks.
  13. usage: /elfdisable
  14. permission: skript.elf.disable
  15. trigger:
  16. set {ELF} to "false"
  17. broadcast "&6Eight-Legged Freaks disabled."
  18.  
  19. # REPLACING MOB SPAWNS WITH SPIDERS
  20. # Note that slimes will still spawn due to a problem with Skript.
  21.  
  22.  
  23. on spawn of zombie:
  24. {ELF} is "true":
  25. cancel the event
  26. spawn a spider at the location
  27.  
  28.  
  29. on spawn of skeleton:
  30. {ELF} is "true":
  31. cancel the event
  32. spawn a spider at the location
  33.  
  34. on spawn of creeper:
  35. {ELF} is "true":
  36. cancel the event
  37. spawn a spider at the location
  38.  
  39.  
  40. on spawn of enderman:
  41. {ELF} is "true":
  42. cancel the event
  43. spawn a cave spider at the location
  44.  
  45. on spawn of witch:
  46. {ELF} is "true":
  47. cancel the event
  48. spawn a cave spider at the location
  49.  
  50. # SPIDERS SPAWN WITH BUFFS
  51.  
  52.  
  53. on spawn of cave spider:
  54. {ELF} is "true":
  55. apply fire resistance 2 to the cave spider for 99999 seconds
  56.  
  57. on spawn of spider:
  58. {ELF} is "true":
  59. apply strength 1 to the spider for 99999 seconds
  60. apply swiftness 1 to the spider for 99999 seconds
  61. apply fire resistance 2 to the spider for 99999 seconds
  62. set {NormalSpider.%spider%} to "true"
  63.  
  64.  
  65. # RARE SPECIAL SPIDERS
  66.  
  67. # Jumpers
  68.  
  69. chance of 3%:
  70. remove strength from the spider
  71. remove swiftness from the spider
  72. remove fire resistance from the spider
  73. remove damage resistance from the spider
  74. remove slowness from the spider
  75. set {NormalSpider.%spider%} to "false"
  76. set {MotherSpider.%spider%} to "false"
  77. set {Spinner.%spider%} to "false"
  78. set the max health of the spider to 12
  79. heal the spider
  80. apply strength 1 to the spider for 99999 seconds
  81. apply swiftness 2 to the spider for 99999 seconds
  82. apply jump boost 8 to the spider for 99999 seconds
  83. apply fire resistance 2 to the spider for 99999 seconds
  84. set {Jumper.%spider%} to "true"
  85. set the spider's name to "&cJumper"
  86. stop
  87.  
  88.  
  89. # Mother Spider
  90.  
  91. chance of 3%:
  92. remove strength from the spider
  93. remove swiftness from the spider
  94. remove fire resistance from the spider
  95. remove jump boost from the spider
  96. set {NormalSpider.%spider%} to "false"
  97. set {Jumper.%spider%} to "false"
  98. set {Spinner.%spider%} to "false"
  99. set the max health of the spider to 12
  100. heal the spider
  101. apply strength 2 to the spider for 99999 seconds
  102. apply damage resistance 1 to the spider for 99999 seconds
  103. apply fire resistance 2 to the spider for 99999 seconds
  104. apply slowness 3 to the spider for 99999 seconds
  105. set {MotherSpider.%spider%} to "true"
  106. set the spider's name to "&cMother"
  107. stop
  108.  
  109.  
  110. # Spinner
  111.  
  112. chance of 3%:
  113. remove strength from the spider
  114. remove swiftness from the spider
  115. remove fire resistance from the spider
  116. remove jump boost from the spider
  117. remove damage resistance from the spider
  118. remove slowness from the spider
  119. set {NormalSpider.%spider%} to "false"
  120. set {MotherSpider.%spider%} to "false"
  121. set {Jumper.%spider%} to "false"
  122. set the max health of the spider to 12
  123. heal the spider
  124. apply fire resistance 2 to the spider for 99999 seconds
  125. apply swiftness 4 to the spider for 99999 seconds
  126. set {Spinner.%spider%} to "true"
  127. set the spider's name to "&cSpinner"
  128. stop
  129.  
  130.  
  131. # SPECIAL SPIDER ATTACKS
  132.  
  133. on damage of player:
  134. {ELF} is "true":
  135.  
  136. # Mother's poison
  137.  
  138. attacker is spider:
  139. {MotherSpider.%attacker%} is "true":
  140. chance of 10%:
  141. apply poison 1 to the victim for 3 seconds
  142.  
  143. # Spinner's web
  144.  
  145. {Spinner.%attacker%} is "true":
  146. set the block at the victim to cobweb
  147. chance of 10%:
  148. apply blindness 1 to the victim for 3 seconds
  149.  
  150. # Jumper's fall damage immunity
  151.  
  152. on damage of spider:
  153. {ELF} is "true"
  154. damage was caused by fall:
  155. {Jumper.%victim%} is "true":
  156. cancel event
  157.  
  158. # All spider's general immunity to suffocation
  159.  
  160. damage was caused by suffocation:
  161. cancel event
  162.  
  163. # SPIDER DEATHS
  164.  
  165. on death of spider:
  166. {ELF} is "true"
  167.  
  168. # Regular spiders
  169.  
  170. {NormalSpider.%victim%} is "true":
  171. chance of 5%:
  172. drop 1 gold ingot at the spider
  173.  
  174. # Mother spiders (spawn babies)
  175.  
  176. {MotherSpider.%victim%} is "true":
  177. spawn 3 cave spiders at the spider
  178. message "&cYou've angered the mother spider's babies!" to the attacker
  179. drop 2 gold ingots at the spider
  180.  
  181. # Spinners
  182.  
  183. {Spinner.%victim%} is "true":
  184. message "&cYou cut a spinner!" to the attacker
  185. drop 2 gold ingots at the spider
  186.  
  187. # Jumpers
  188.  
  189. {Jumper.%victim%} is "true":
  190. message "&cYou grounded a jumper!" to the attacker
  191. drop 2 gold ingots at the spider
  192.  
  193. # Cave spiders
  194.  
  195. on death of cave spider:
  196. {ELF} is "true"
  197. chance of 15%:
  198. drop 1 gold ingot at the cave spider
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement