Jump to content
  • 0

Question

Posted

Hello.

Example in one category i have 100 items with chance 1.5% for each item. But when i kill mob it always drop one of 100 items.

if in category have 2 items then to drop item chance low.

How work category?

I want make chance for one category example 2% and then check again for items in catagory then drop.

First check category chance if true then check all items chance in catagory.

3 answers to this question

Recommended Posts

  • 0
Posted

oh yes now i see

_categoryChance += drop.getChance();

every drop chance add to categry chance. So i will need to edit code.

 

Thanks.

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...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..