diff --git a/roll20ChatParserMain.py b/roll20ChatParserMain.py index 097a731..4b06465 100644 --- a/roll20ChatParserMain.py +++ b/roll20ChatParserMain.py @@ -116,8 +116,7 @@ def checkIfCounts(line): estCon=0 if(re.match("(^_?[0-9]+){1}( \+ [0-9]+)?( [0-9]+( \+ [0-9])*)?", line)): print("match : " + line) - estCon=1 # attackroll eller dam - s=re.search('\\', line) + estCon=1 # attackroll eller s=re.search('\([-|\+][0-9]+\)+', line) if(s!=None): print("match modifier: " + line)