This commit is contained in:
Dennis 2024-02-22 20:35:18 +01:00
parent 346273f737
commit 2331bab303

View File

@ -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)