From c0115fbdce8d77c537abc84660bea5a156783eb2 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 13 Dec 2014 21:55:55 +0100 Subject: -Improves documentation and add a better example in main.cpp --- HelpMe.md | 9 +++++++++ main.cpp | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3-70-g09d2