Jump to content

Random Drop Enchant - Skript


Recommended Posts

I was recently having trouble with skript and i cant do this. I'm trying to create something in the custom crafting recipes. Heres what I have so far and it doesnt work.

on break:

[tabs] player is holding diamond pickaxe with lore "Randomness"

[tabs] event-block is an ore

drop 85% 4 iron ingot

drop 70% 4 gold ingot

drop 50% 12 coal

drop 20% 5 redstone dust

drop 15% 3 diamond

Link to comment
Share on other sites

Here you go:

Btw please don't post questions in "Skript Releases"

on break:
 player is holding diamond pickaxe with lore "Randomness":
  event-block is an ore:
   chance of 85%:
    drop 4 iron ingot at event-block
    exit
   chance of 70%:
    drop 4 gold ingot at event-block
    exit
   chance of 50%:
    drop 12 coal at event-block
    exit
   chance of 20%:
    drop 5 redstone dust at event-block
    exit
   chance of 15%:
    drop 3 diamond at event-block
    exit
Edited by Starshinex3

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...