I was trying to make a random loot by fraction system like shinobi life 2, for example, this item has a [1/2] chance to spawn. I don't know where to start, I've looked on youtube, but all I can find is random loot tables without fractions, can somebody help please?
COMMUNITY QUESTION
How do I make a random loot decided by fraction system?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
im not sure a fraction system is good... also we dont take questions with no attempts. just use like a 1 in 5 chance with math.random
No game really uses a fraction system, that I'm aware of. its just a math.random I would think.