What do you want to achieve? Keep it simple and clear!
I want to make a rarity system similar to the one in the game “UnConventional” but their system is confusing, I don’t know how to do the same, so I want help from someone experienced.
What is the issue? Include screenshots / videos if possible!
The game rarity system is based on 0.1 to 10 being your power level between these numbers, but it is extremely rare to catch something above 8.0, reaching a chance of one in 6 million told by the creator himself.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried to use weight System but I couldn’t adapt them to look like his game.
local iterations = 9 --//The higher the number, the more rare high rolls are
local RNG = Random.new()
local roll = 10
for i = 1, iterations do
roll = math.min(roll, RNG:NextNumber(0.1, 10))
end
print(roll)
Over 10 tests, on average, it took 1378476 rolls to reach a number that was 8 or above.