I would like to achieve a table that Resorts itself so a “Common” pet number would be a bit lower while a “Legendary Pet” number would be a bit higher. These values would get closer together as the value being “Luck” would increase. For example, I would turn
Local Table = {
{"Dog", 100},
{"Dog", 50},
{"Dog", 1},
}
--Into this
Local Table = {
{"Dog", 90},
{"Dog", 50},
{"Dog", 10},
}
I have tried to change the lower values correlated to the percentage but it didn’t really turn out good.
My only problem is this as I already have a RNG system that selects the pets but I just need a more balanced luck system.
Any help is greatly appreciated!