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

Fred roll X #20

Open
allygator opened this issue May 19, 2020 · 1 comment · May be fixed by #27
Open

Fred roll X #20

allygator opened this issue May 19, 2020 · 1 comment · May be fixed by #27

Comments

@allygator
Copy link
Owner

Fred will return a number between 0 and X

@SammyIsra
Copy link
Collaborator

The old Fred's behavior is here: https://github.com/SammyIsra/fred/blob/master/scripts/roll.js

However we might want to do it in a slightly different way. Old Fred's rolling was based on dice (roll 1d20, 2d100, etc). If we want to basically replicate the WoW one, the behavior is identical to roll 1d100 and there will always be only 1 die in the calculation.

Overall, it would be easier than old behavior.

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