Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &7[&8Nightmare UHC&7]
- p: &7[&8Nightmare UHC&7]
- p2: &7[&8Nightmare UHC&7]
- variables:
- {DropFixes:Enderman} = false
- {DropFixes:Blaze} = false
- on death of enderman:
- if {DropFixes:Enderman} is true:
- chance of {DropFixes:EPearlDropChance}%:
- clear drops
- drop 1 ender pearl at the enderman
- on death of blaze:
- if {DropFixes:Blaze} is true:
- chance of {DropFixes:BlazeRodDropChance}%:
- clear drops
- drop 1 blaze rod at the blaze
- command /dropfix [<text>] [<integer>]:
- permission: skript.op
- usage: /dropfix <mob:reset> <integer>
- aliases: /fixdrops, /fixdrop, /dropfixes
- trigger:
- if arg-1 is "reset":
- broadcast "{@p} Mob Drop Rates set to Vanilla"
- delete {DropFixes:EPearlDropChance}
- delete {DropFixes:BlazeRodDropChance}
- loop all players:
- command "/playsound random.pop %loop-player% ~ ~ ~ 1 0.5 1"
- else if arg-1 is "enderman":
- if arg-2 is not set:
- send "{@p} You must specify a rate to set it to!" to command sender
- command "/playsound random.break %command sender% ~ ~ ~ 1 0.5 1"
- stop
- else if arg-2 is less than 0:
- send "{@p} No number lower than 0!" to command sender
- command "/playsound random.break %command sender% ~ ~ ~ 1 0.5 1"
- stop
- else if arg-2 is greater than 100:
- send "{@p} No number higher than 100!" to command sender
- command "/playsound random.break %command sender% ~ ~ ~ 1 0.5 1"
- stop
- set {DropFixes:EPearlDropChance} to arg-2
- set {DropFixes:Enderman} to true
- broadcast "{@p} Ender Pearl Rates set to %arg-2%%%"
- loop all players:
- command "/playsound random.pop %loop-player% ~ ~ ~ 1 0.5 1"
- else:
- if {DropFixes:EPearlDropChance} is set:
- send "{@p2} Current Ender Pearl Rates: %{DropFixes:EPearlDropChance}%%%"
- else:
- send "{@p2} Current Ender Pearl Rates: Vanilla"
- send "{@p} /dropfix [<enderman:blaze:reset>] [<rate (1-100)>]"
- command "/playsound random.explode %command sender% ~ ~ ~ 1 0.5 1"
- else if arg-1 is "blaze":
- if arg-2 is not set:
- send "{@p} You must specify a rate to set it to!" to command sender
- command "/playsound random.break %command sender% ~ ~ ~ 1 0.5 1"
- stop
- else if arg-2 is less than 0:
- send "{@p} No number lower than 0!" to command sender
- command "/playsound random.break %command sender% ~ ~ ~ 1 0.5 1"
- stop
- else if arg-2 is greater than 100:
- send "{@p} No number higher than 100!" to command sender
- command "/playsound random.break %command sender% ~ ~ ~ 1 0.5 1"
- stop
- set {DropFixes:BlazeRodDropChance} to arg-2
- set {DropFixes:Blaze} to true
- broadcast "{@p} Blaze Rod Rates set to %arg-2%%%"
- loop all players:
- command "/playsound random.pop %loop-player% ~ ~ ~ 1 0.5 1"
- else:
- if {DropFixes:BlazeRodDropChance} is set:
- send "{@p2} Current Blaze Rod Rates: %{DropFixes:EPearlDropChance}%%%"
- else:
- send "{@p2} Current Blaze Rod Rates: Vanilla"
- send "{@p} /dropfix [<enderman:blaze:reset>] [<rate (1-100)>]"
- command "/playsound random.explode %command sender% ~ ~ ~ 1 0.5 1"
- command /witch [<text>]:
- description: Witch Enable:Disable:Toggle
- usage: /witch <enable:disable:toggle>
- permission: skript.admin
- trigger:
- if arg 1 is "enable":
- if arg-2 is not set:
- set {witchnerfs1} to true
- set {witchnerfs2} to false
- send "&7Normal Witch Nerfs Enabled!"
- if arg-2 is "special":
- set {witchnerfs1} to true
- set {witchnerfs2} to true
- send "&7Extra Witch Nerfs Enabled!"
- if arg-2 is normal:
- set {witchnerfs1} to true
- set {witchnerfs2} to false
- send "&7Normal Witch Nerfs Enabled!"
- if arg 1 is "disable":
- if arg-2 is not set:
- set {witchnerfs1} to false
- set {witchnerfs2} to false
- send "&7Normal Witch Nerfs Disabled!"
- if arg-2 is "special":
- set {witchnerfs2} to false
- send "&7Extra Witch Nerfs Disabled!"
- if arg-2 is normal:
- set {witchnerfs1} to false
- set {witchnerfs2} to false
- send "&7Normal Witch Nerfs Disabled!"
- on death of witch:
- if {witchnerfs1} is true:
- chance of 30%:
- clear drops
- drop a health potion at the witch
- else if {witchnerfs2} is true:
- chance of 20%:
- clear drops
- drop a health potion at the witch
- drop %a random integer between 1 and 3% gold ingots at the witch
Advertisement
Add Comment
Please, Sign In to add comment