From 2331bab30377618f2d16f5cb9bf3e5f48fa3806f Mon Sep 17 00:00:00 2001 From: Dennis Date: Thu, 22 Feb 2024 20:35:18 +0100 Subject: [PATCH] sdf --- roll20ChatParserMain.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)