We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The section involved is:
py-rolldice/rolldice/rolldice.py
Lines 815 to 817 in 876607b
You can see it summing the rolls from index 0 up to num_to_drop and adding that to results. But those are the dropped dice, not the kept ones.
num_to_drop
Example output for rolling 6d6 and dropping the lowest 2:
>>> rolldice.roll_dice('6d6x2') (3, '[2,2,2,4 ~~ 1,2]')
It dropped 1 and 2, and the result shown is 3, even though it kept 4 dice summing to 10.
Expected output thus would have been:
>>> rolldice.roll_dice('6d6x2') (10, '[2,2,2,4 ~~ 1,2]')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The section involved is:
py-rolldice/rolldice/rolldice.py
Lines 815 to 817 in 876607b
You can see it summing the rolls from index 0 up to
num_to_drop
and adding that to results. But those are the dropped dice, not the kept ones.Example output for rolling 6d6 and dropping the lowest 2:
It dropped 1 and 2, and the result shown is 3, even though it kept 4 dice summing to 10.
Expected output thus would have been:
The text was updated successfully, but these errors were encountered: