Ilom_uk

Wolf Fixes

Oct 22nd, 2017
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. #Wolf Fixes
  2. options:
  3. P: &8[&7Wolf Fixes&8]&c
  4. command /wolffixes [<text>]:
  5. usage: /wolffixes <on:off>
  6. aliases: /wolffix
  7. permission: skript.host
  8. trigger:
  9. if arg 1 is "on":
  10. set {wolffix} to true
  11. broadcast "{@P} &cWolf Fixes &aEnabled"
  12.  
  13. if arg 1 is "off":
  14. set {wolffix} to false
  15. broadcast "{@P} &cWolf Fixes &cDisabled"
  16.  
  17. on spawn of sheep:
  18. if {wolffix} is true:
  19. chance of 15%:
  20. if biome of the entity is forest:
  21. chance of 33.3%:
  22. kill the sheep
  23. spawn 1 wolf at the sheep
  24. else:
  25. chance of 33.3%:
  26. kill the sheep
  27. spawn 2 wolf at the sheep
  28. else:
  29. kill the sheep
  30. spawn 3 wolf at the sheep
  31.  
  32. else if biome of the entity is taiga:
  33. chance of 33.3%:
  34. kill the sheep
  35. spawn 1 wolf at the sheep
  36. else:
  37. chance of 33.3%:
  38. kill the sheep
  39. spawn 2 wolf at the sheep
  40. else:
  41. kill the sheep
  42. spawn 3 wolf at the sheep
  43.  
  44. else if biome of the entity is cold taiga:
  45. chance of 33.3%:
  46. kill the sheep
  47. spawn 1 wolf at the sheep
  48. else:
  49. chance of 33.3%:
  50. kill the sheep
  51. spawn 2 wolf at the sheep
  52. else:
  53. kill the sheep
  54. spawn 3 wolf at the sheep
  55.  
  56. else if biome of the entity is mega taiga:
  57. chance of 33.3%:
  58. kill the sheep
  59. spawn 1 wolf at the sheep
  60. else:
  61. chance of 33.3%:
  62. kill the sheep
  63. spawn 2 wolf at the sheep
  64. else:
  65. kill the sheep
  66. spawn 3 wolf at the sheep
  67.  
  68.  
  69. on spawn of wolf:
  70. if {wolffix} is true:
  71. chance of 30%:
  72. spawn 1 wolf at the wolf
  73.  
  74. on spawn of wolf:
  75. set the name of the wolf to "LordLaelaps"
Advertisement
Add Comment
Please, Sign In to add comment