Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Pre: &e[&bLethalOres&e]&f
- command /lethalores [<text>]:
- permission: skript.op
- trigger:
- if arg-1 is "on":
- set {lethalores} to true
- message "{@Pre} Lethal Ores &6enabled&f!"
- stop
- if arg-1 is "off":
- delete {lethalores}
- message "{@Pre} Lethal Ores &6disabled&f!"
- stop
- if arg-1 is "help":
- message "{@Pre} /lethalores <&6on&f/&6off&f/&6help&f>"
- else:
- player command "lethalores help"
- on mine of iron ore:
- if {lethalores} is true:
- set block to air
- cancel the event
- drop 3 experience point
- drop 3 iron ingot
- chance of 25%:
- stop trigger
- chance of 16%:
- message "{@Pre} You begin to fly in the air"
- loop 3 times:
- push the player upwards
- wait 30 ticks
- stop trigger
- chance of 18%:
- apply slow digging 2 to the player for 30 seconds
- message "{@Pre} You seem to feel slow"
- stop trigger
- chance of 10%:
- damage the player by 0.5 hearts
- message "{@Pre} Your iron hit you"
- stop trigger
- chance of 15%:
- spawn 1 zombie pigmen at the event-block
- message "{@Pre} A random pigman came to say hi"
- stop trigger
- chance of 3%:
- loop blocks in radius 2 of the player:
- set loop-block to stone
- message "{@Pre} The cave seemed to cave in on you"
- stop trigger
- chance of 13%:
- spawn 1 zombie at the event-block
- message "{@Pre} You mined the zombies' iron"
- stop trigger
- on mine of gold ore:
- if {lethalores} is true:
- set block to air
- cancel the event
- drop 3 experience point
- drop 3 gold ingot
- chance of 25%:
- stop trigger
- chance of 8%:
- damage the player by 1 hearts
- message "{@Pre} Your gold slapped you"
- stop trigger
- chance of 5%:
- ignite the player for 8 seconds
- message "{@Pre} That gold was burning hot"
- stop trigger
- chance of 18%:
- set {_loc} to location of event-block
- loop blocks in radius 2 around {_loc}:
- if loop-block is gold ore:
- set loop-block to air
- message "{@Pre} The gold disappeared"
- stop trigger
- chance of 15%:
- apply slowness 30 to the player for 1 minute
- message "{@Pre} You seem to feel slow"
- stop trigger
- chance of 13%:
- disenchant the player's helmet
- disenchant the player's boots
- message "{@Pre} Your armor became un-enchanted"
- stop trigger
- chance of 8%:
- strike lightning at the player
- message "{@Pre} Where did that come from?"
- stop trigger
- chance of 8.5%:
- spawn 2 silverfish at the event-block
- message "{@Pre} There was silverfish hiding in the gold"
- stop trigger
- chance of 0.50%:
- spawn 1 cave spider at the event-block
- message "{@Pre} You stole the spider's gold"
- stop trigger
- on mine of diamond ore:
- if {lethalores} is true:
- drop 2 diamond
- chance of 25%:
- stop trigger
- chance of 9%:
- damage the player by 1.5 hearts
- message "{@Pre} Your diamonds punched you"
- stop trigger
- chance of 7%:
- spawn a creeper at the event-block
- message "{@Pre} Creepers like diamonds too"
- stop trigger
- chance of 6%:
- spawn primed tnt at the block
- message "{@Pre} Boom"
- stop trigger
- chance of 15%:
- apply hunger 2 to the player for 1 minute
- message "{@Pre} You suddenly feel hungry"
- stop trigger
- chance of 10%:
- spawn 3 skeletons at the event-block
- message "{@Pre} Skeletons!"
- stop trigger
- chance of 15%:
- apply nausea 1 to the player for 2 minutes
- message "{@Pre} You feel nauseous"
- stop trigger
- chance of 13%:
- reduce player's level by 5
- message "{@Pre} Your levels disappeared"
- stop trigger
Advertisement
Add Comment
Please, Sign In to add comment