Dice: change the output format so it's a bit more readable
This commit is contained in:
parent
93761df5ed
commit
86e6cd3db0
@ -129,9 +129,10 @@ class Dice(Module):
|
||||
res = m
|
||||
curr_str += str(m)
|
||||
total += mode * res
|
||||
output += "%d (%s)" % (total, curr_str)
|
||||
if comment != None:
|
||||
output = "%s: %s" % (comment.strip(), output)
|
||||
output = "%d %s 14(%s)" % (total, comment.strip(), curr_str)
|
||||
else:
|
||||
output = "%d 14(%s)" % (total, curr_str)
|
||||
return output
|
||||
|
||||
def p_roll_r(self, p):
|
||||
|
Loading…
Reference in New Issue
Block a user