DiceParser icon indicating copy to clipboard operation
DiceParser copied to clipboard

List weight doesn't seem to work

Open SerTapTap opened this issue 1 year ago • 0 comments

Either the documentation for Weights in lists is wrong, or they simply don't work. Testing using the discord bot

To test try making an extremely biased weight and a large number of outputs like the below:

/r command:20L[fail[99],pass[1]]

Despite one having 99 weight and one 1, the output will be an even mix of pass and fail. The readme is also very vague about this, I assume a higher number is a higher chance to happen, though since it doesn't work I can't really tell.

Workaround: Just repeat the item entirely and it's picked as an independent item, increasing its weight. But that's what I was trying to stop doing by using this feature.

SerTapTap avatar Mar 08 '23 22:03 SerTapTap