From e1d5d9f522beeab3a64466e65376f884d6c47e4e Mon Sep 17 00:00:00 2001 From: kad Date: Sun, 31 Oct 2010 17:01:15 -0600 Subject: [PATCH] Fix negative modifier issue --- modules/Dice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Dice.py b/modules/Dice.py index e03927f..eb26083 100644 --- a/modules/Dice.py +++ b/modules/Dice.py @@ -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: