Fix negative modifier issue

This commit is contained in:
kad 2010-10-31 17:01:15 -06:00
parent c2280aaf1e
commit e1d5d9f522
1 changed files with 1 additions and 1 deletions

View File

@ -87,11 +87,11 @@ class Dice(Module):
# the whole current dice string (the part up to a semicolon or end of line)
def process_roll(self, trials, mods, comment):
output = ""
mode = 1
repeat = 1
if trials != None:
repeat = trials
for i in range(repeat):
mode = 1
total = 0
curr_str = ""
if i > 0: