Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List weight doesn't seem to work #158

Open
ZeldaZone opened this issue Mar 8, 2023 · 0 comments
Open

List weight doesn't seem to work #158

ZeldaZone opened this issue Mar 8, 2023 · 0 comments

Comments

@ZeldaZone
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant