This article was originally published on my Patreon. For the latest articles, you may consider becoming a patron!
If you have ever looked at the Enemy tab in the RPG Maker database, you'll see that there is an option to set some drop items.
At the end of the battle, any enemies that have been defeated may drop some items.
The probability that an item is dropped is something you set up!
Now, the problem is, what exactly does the probability mean?
Fractions
The probabilities use a fraction system. If you look at the screenshot at the beginning of the article, you'll notice that you can change the value on the right-side of the /
So for example, if you take
That means you have 1 in 1 chance of obtaining the drop, or 100%.
If you take
Then you have 1 in 2 chances of obtaining the drop, or 50%
If you take
Then you have 1 in 3 chances of obtaining the drop, or 33.3333%
Hopefully, this is straightforward.
Limitations
One of the biggest limitations with this system is the inability to specify any percentages between the ones I provided, because the denominators are strictly integers, and you can't change the numerator.
This means if you wanted to say 60%, which is
You're out of luck, because the numerator is always 1.
So the drop system has a bit of a limitation. Let me proceed to fix that.

If you have ever looked at the Enemy tab in the RPG Maker database, you'll see that there is an option to set some drop items.
At the end of the battle, any enemies that have been defeated may drop some items.
The probability that an item is dropped is something you set up!
Now, the problem is, what exactly does the probability mean?
Fractions
The probabilities use a fraction system. If you look at the screenshot at the beginning of the article, you'll notice that you can change the value on the right-side of the /
So for example, if you take
Code:
1 / 1
If you take
Code:
1 / 2
If you take
Code:
1 / 3
Hopefully, this is straightforward.
Limitations
One of the biggest limitations with this system is the inability to specify any percentages between the ones I provided, because the denominators are strictly integers, and you can't change the numerator.
This means if you wanted to say 60%, which is
Code:
3 / 5
So the drop system has a bit of a limitation. Let me proceed to fix that.