aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--HelpMe.md9
-rw-r--r--main.cpp2
2 files changed, 10 insertions, 1 deletions
diff --git a/HelpMe.md b/HelpMe.md
index 9a37daf..17488c8 100644
--- a/HelpMe.md
+++ b/HelpMe.md
@@ -134,6 +134,15 @@ Substract 4 to 6 and then roll two dice.
Divide by 2 the result of 1 die.
+## Roll two (or more) kind of dice at once.
+
+To make it, you have to separate all dice command by `;`
+
+> 1d10;1d6
+
+or
+
+> 5d6;1d10;4d100;3d20
## Validator
diff --git a/main.cpp b/main.cpp
index 9350c3d..086e5c2 100644
--- a/main.cpp
+++ b/main.cpp
@@ -36,7 +36,7 @@ int main(int argc, char *argv[])
QStringList commands;
- commands<< "1d6;1d10";/*
+ commands<< "5d6;1d10;4d100;3d20";/*
<< "1+(4*3)D10"
<< "2+4/4"
<< "2D10*2D20*8"