Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Helen mob reduction skripts
- options:
- P:&7[&cMob Reduction&7]&r
- command /mobreduce [<integer>]:
- permission: skript.op
- trigger:
- If arg 1 is not set:
- message "{@P} Command /Mobreduction <% reduction of mobs>"
- message "{@P} Reduces the spawn rates of all hostile mobs besides spiders!
- message "{@P} Mob Rates are currently reduced %{_MobReduction}%%"
- else:
- set {_MobReduction} to arg 1
- message "{@P} Mob Rates set to reduce by %arg 1%%"
- on spawn of a skeleton:
- chance of {_MobReduction}%:
- cancel the event
- on spawn of a zombie:
- chance of {_MobReduction}%:
- cancel the event
- on spawn of a creeper:
- chance of {_MobReduction}%:
- cancel the event
- on spawn of a enderman:
- chance of {_MobReduction}%:
- cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement