Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loot Table Drop Chance #14

Open
ghost opened this issue Feb 7, 2018 · 3 comments
Open

Loot Table Drop Chance #14

ghost opened this issue Feb 7, 2018 · 3 comments
Milestone

Comments

@ghost
Copy link

ghost commented Feb 7, 2018

I see from the loot tables you've implimented that you've been using empty loot entries to induce a chance that there won't be a drop at all. There is, however, a dedicated way of doing this already in MC loottables; the Condition "random_chance". You can set this to a float representative of whatever percentage you want the entry (or pool, it works on both) to successfully drop the specified loot.

@Delocuro
Copy link
Collaborator

Delocuro commented Feb 7, 2018

Ohhh, good to know! I'm new to loot tables - the last M4 release happened prior to their addition, so the M5 ones ended up being pretty hacky, lol. I'll try and get those cleaned up for 5.3.0 - thanks for the heads up!

@ghost
Copy link
Author

ghost commented Feb 7, 2018

You're welcome! If you have any other loot table related questions I'd be happy to help!

@Delocuro
Copy link
Collaborator

Pushing this to 5.4.0 for now -- I'll be sure to use it for future loot tables, but it looks like it'll take a good bit of json re-writing to fix for all existing ones, so I don't want to push 5.3.0 back farther than necessary.

@Delocuro Delocuro added this to the 5.4.0 milestone Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant