Advertisement
Guest User

If It Wasn't Fixed Before

a guest
Sep 15th, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. # Helen mob reduction skripts
  2.  
  3. options:
  4. P:&7[&cMob Reduction&7]&r
  5.  
  6. command /mobreduce [<integer>]:
  7. permission: skript.op
  8. trigger:
  9. If arg 1 is not set:
  10. message "{@P} Command /Mobreduction <% reduction of mobs>"
  11. message "{@P} Reduces the spawn rates of all hostile mobs besides spiders!
  12. message "{@P} Mob Rates are currently reduced %{_MobReduction}%%"
  13. else:
  14. set {_MobReduction} to arg 1
  15. message "{@P} Mob Rates set to reduce by %arg 1%%"
  16.  
  17.  
  18.  
  19. on spawn of a skeleton:
  20. chance of {_MobReduction}%:
  21. cancel the event
  22.  
  23. on spawn of a zombie:
  24. chance of {_MobReduction}%:
  25. cancel the event
  26.  
  27. on spawn of a creeper:
  28. chance of {_MobReduction}%:
  29. cancel the event
  30.  
  31. on spawn of a enderman:
  32. chance of {_MobReduction}%:
  33. cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement