Could someone help me how do I create a probability with 2 arrays?
The problem is this, I created a npc for ticket exchange per item, and using Luckywhell that posted here in the forum, the item configuration is like this: IDItem, Quantity, Enchant, Chance.
But the chance is according to the quantity of items, not by chance of each item, could you help me to solve this problem?
Question
KillSwith
Could someone help me how do I create a probability with 2 arrays?
The problem is this, I created a npc for ticket exchange per item, and using Luckywhell that posted here in the forum, the item configuration is like this: IDItem, Quantity, Enchant, Chance.
But the chance is according to the quantity of items, not by chance of each item, could you help me to solve this problem?
10 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now