Compare commits
No commits in common. "6b8dd1a645cdc8b15a48b264e4d727bae6316fe2" and "8fcc8365e35c5c648ce96d52999a4d1d709a9e31" have entirely different histories.
6b8dd1a645
...
8fcc8365e3
@ -64,8 +64,7 @@ class DiceRoller(object):
|
||||
up to a semicolon or end of line).
|
||||
"""
|
||||
rolls = mods[0][0][1] if mods[0][0][1] else 1
|
||||
if trials:
|
||||
assert trials <= 10, "Too many rolls (max: 10)."
|
||||
assert trials <= 10, "Too many rolls (max: 10)."
|
||||
assert rolls <= 50, "Too many dice (max: 50) in roll."
|
||||
|
||||
output = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user