From a6d4094a0712123c44d67e3da56022dd5421e558 Mon Sep 17 00:00:00 2001 From: "Renaud G." Date: Tue, 9 Dec 2014 15:52:10 +0100 Subject: Update HelpMe.md -Add Arithmetic -Add explose -Add Add -Add reroll --- HelpMe.md | 65 +++++++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 49 insertions(+), 16 deletions(-) diff --git a/HelpMe.md b/HelpMe.md index 60e80ab..5eea49c 100644 --- a/HelpMe.md +++ b/HelpMe.md @@ -7,7 +7,7 @@ It is real simple. you have to call: The first number is the count of dice you want to roll. The second number should be die's faces count. -### Example +### Examples > 1d6 Roll one six-faced die. @@ -53,39 +53,72 @@ Dice explose if their value are at the die maximum, the option sorts the resulti The dice list is sorted in descending order. -> 3D10c[condition] +> 3D10c[Validator] -Count how many dice respect the condition. And display the number. (See boolean condition and range for more details about the condition) +Count how many dice respect the condition and display the number (See Validator for more details about syntax) -> 3D10rX +> 3D10r[Validator] +Reroll the die if the previous value fits the validator (See Validator for more details about syntax). + +> 3D10e[Validator] + +Explose while the value fits the Validator (See Validator for more details about syntax). + +> 3D10a[Validator] + +Reroll the die if its value fits the Validator and add the new value to the previous one. It does that only once. + + +## Arithmetic + +Rolisteam Dice Parser is able to compute primary arithmetic operation such as: +, -, /, * and it also manages those operator priority and it can also manage parenthesis. + +> 8+8+8 + +Result: 24 + +> 24-4 + +Result: 20 + + + +## Examples + +> 3D100 -### 3D100 Roll 3 dice with 100 faces -### 10D10e[=10]s +> 10D10e[=10]s + Roll 10 dice with 10 faces, 10 exploses, and sort the result. -### 100291D66666666s -roll 100291 dice with 66666666666 faces and sort result +> 100291D66666666s + +Roll 100291 dice with 66666666666 faces and sort result + +> 15D10c[>7] -### 15D10c[>7] roll 15 dice with 10 faces and it counts number of dice which are above 7 -### 1D8+2D6+7 +> 1D8+2D6+7 + roll 1 die with 8 faces and add the result to 2 dice with 6 faces and add 7. -### D25 +> D25 + roll 1 die with 25 faces -### 88-1D20 +> 88-1D20 + 88 minus the value of 1 die of 20 faces -### 8+8+8 +> 8+8+8 + compute: 24 +> 100/28*3 + -### 100/28*3 -compute: 100/28 = 3 -3*3 = 9 -- cgit v1.2.3-70-g09d2 From 04a48e730e421724531c2a0e015e35134452e7d7 Mon Sep 17 00:00:00 2001 From: "Renaud G." Date: Tue, 9 Dec 2014 15:54:53 +0100 Subject: Update HelpMe.md better title --- HelpMe.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/HelpMe.md b/HelpMe.md index 5eea49c..484a972 100644 --- a/HelpMe.md +++ b/HelpMe.md @@ -48,23 +48,32 @@ The option sorts the resulting die list and select the X better. Dice explose if their value are at the die maximum, the option sorts the resulting die list, the it selects the X better. +### Sorting + > 3D10s The dice list is sorted in descending order. +### Counter > 3D10c[Validator] Count how many dice respect the condition and display the number (See Validator for more details about syntax) +### Reroll + > 3D10r[Validator] Reroll the die if the previous value fits the validator (See Validator for more details about syntax). +### Explose + > 3D10e[Validator] Explose while the value fits the Validator (See Validator for more details about syntax). +### Add + > 3D10a[Validator] Reroll the die if its value fits the Validator and add the new value to the previous one. It does that only once. -- cgit v1.2.3-70-g09d2