From 5f68d8399b771da0f3500a5d037315607e25c78d Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 26 Apr 2020 16:31:31 +0200 Subject: Add support for OnEachValue compare method. --- parsingtoolbox.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'parsingtoolbox.cpp') diff --git a/parsingtoolbox.cpp b/parsingtoolbox.cpp index e28c65d..e53cf96 100644 --- a/parsingtoolbox.cpp +++ b/parsingtoolbox.cpp @@ -330,6 +330,11 @@ Dice::ConditionType ParsingToolBox::readConditionType(QString& str) str= str.remove(0, 1); type= Dice::OneOfThem; } + else if(str.startsWith('?')) + { + str= str.remove(0, 1); + type= Dice::OnEachValue; + } else if(str.startsWith('*')) { str= str.remove(0, 1); -- cgit v1.2.3-70-g09d2