Fix negative modifier issue
This commit is contained in:
		
							parent
							
								
									c2280aaf1e
								
							
						
					
					
						commit
						e1d5d9f522
					
				| @ -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: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user