diff options
| author | 2014-12-10 11:15:41 +0100 | |
|---|---|---|
| committer | 2014-12-10 11:15:41 +0100 | |
| commit | a014afe5d0e23a8e7175dc0cabfda074cb77a057 (patch) | |
| tree | 9a60436bfdaa958cf5f18776f7b3cead8686c21c | |
| parent | 4b977cd92a8431f871f688f7a6ce224817bf590a (diff) | |
| download | OneRoll-a014afe5d0e23a8e7175dc0cabfda074cb77a057.tar.gz OneRoll-a014afe5d0e23a8e7175dc0cabfda074cb77a057.zip | |
Update HelpMe.md
Arithmetic with Dice
| -rw-r--r-- | HelpMe.md | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -91,6 +91,39 @@ Result: 24 Result: 20 +> (3+4)*2 + +Result: 14 + +> 7/2 + +Result: 3.5 + +## + +It is possible to use arithmetic opearation on dice. Please pay attention that the default operation to translate a +dice list to scalar is the sum. So if you roll `3d6`, the result will be a list with 3 values {2, 5 ,1}. Now, we +change a bit the command `3d6+4`: It is resolved like this: {2, 5 ,1} = 8; 8+4 = 12. The final result is 12. + +> 3d6+4 + +Roll 3 dice; sum the result; and add 4 + +> 10D10-2 + +Roll 10 dice; sum the result; and then substract 2 + +> 87-1D20 + +Substract the result of 1 die to 87 + +> (6-4)D10 + +Substract 4 to 6 and then roll two dice. + +> 1D10/2 + +Divide by 2 the result of 1 die. ## Examples |