Rarity Rolling System

I’m making a rarity type game like InfiniteRarities or Infinite Luck
I was using Random.NextNumber() to decide if you get a high enough number to get the next rarity but now i’ve hit a limit
Anything after 9.22qn chance doesnt work and it’ll just forever return the rarity before that one
I tried using EternityNum.Rand() system but that didnt work either i still hit the limit
Is there anything else that can get a number between 1 and a number which is higher than the integer limit?

1 Like

Why do you need a chance that high? I mean thats crazy

3 Likes

Rarity type game.
you get more luck and you roll higher rarities stuff like that
random:NextNumber() has a limit of 1e50 so it doesnt work out very well when i got rarities with more than that
i realize now i didnt explain very well in the original post

just make it impossible to get the rarest until their chance goes up where it will be below the integer limit. with it being that rare there is no way that the players can tell the difference

that is legit the 64 bit integer limit even in a game like that why are you making it so rare

maybe you could work around it by dividing the number by 100 and then multiplying it however you need