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?

2 comments

0

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

0

No game really uses a fraction system, that I'm aware of. its just a math.random I would think.