From 51748970426496823600522f5cfda65240d6e6e8 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Wed, 23 Aug 2017 21:05:59 -0400 Subject: Update README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b7ff49..e02fd5d 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ The parser recognizes the following grammar: | Die 'E' Die | Die 'K' Die | Die 'k' Die + | Die 'A' Die Semantics are defined in terms of the `pool` function. @@ -115,13 +116,18 @@ Semantics are defined in terms of the `pool` function. rolling `D`. * `DkE` is the "keep lowest" mechanic. Like `K`, but selects the lowest rolling dice. +* `DAE` might roll some of `E`'s pool again. First `D` is rolled. Now each die + in the dice pool generated by `E` is rolled repeatedly until it rolls + something less than the value rolled on `D`. Each such roll is treated as a + separate die, the results for each die are not accumulated like with exploding + die. Additionally: * The binary arithmetic operations (` + `, ` - `) are left associative. * The bonus operations (`+`, `-`) are left associative. They bind stronger than arithmetic operations. -* The die operations (`d`, `E`, `K`, `k`) are right associative (`1d2d3` is +* The die operations (`d`, `E`, `K`, etc.) are right associative (`1d2d3` is equivalent to `1d(2d3)`, use explicit parentheses if you need `(1d2)d3`). * Die operations bind stronger than the binary arithmetic operations (`1d6 + 1d4` is equivalent to `(1d6) + (1d4)`) and the bonus operations. -- cgit v1.2.3