#How to expand my rng system to include luck bonus?

1 messages · Page 1 of 1 (latest)

slender cloud
#

So i need a way to add a luck bonus onto each roll, i have a think but not really sure how to do this?

#

now with my luck system, if i was to divide each rarity by the luck bonus, so lets say 550 / 2 it works but if i got to more of the rarer raritys it would just make it harder because for example 0.005 / 2 = 0.0025

barren granite
#

everyone just increases the weights of higher rarities for luck

slender cloud
# barren granite everyone just increases the weights of higher rarities for luck

oh so you manually increase the rarer weights? so lets say if this was my rarities below, would i then increase to the last one for a 2x multi?

RNGModule.Items = {
    {Name = "Common", Chance = 7000},
    {Name = "Rare", Chance = 2500},
    {Name = "Legendary", Chance = 500},
}```
2x multi
```lua
RNGModule.Items = {
    {Name = "Common", Chance = 4000},
    {Name = "Rare", Chance = 5000},
    {Name = "Legendary", Chance = 1000},
}```