ianfhunter / GNOLL

GNOLL is an efficient dice notation parser for multiple programming languages that supports a wide set of dice notation
https://www.ianhunter.ie/GNOLL/
GNU General Public License v3.0
39 stars 23 forks source link

Feature Request: Reroll Doubles #204

Open ianfhunter opened 1 year ago

ianfhunter commented 1 year ago

Is your feature request related to a problem? Please describe.

In DC Heroes, a roll of 2d10 should be rerolled if the result is 00,11,22,33,44,55,66,77,88,99

Describe the solution you'd like

2d10r!=u ?

reroll when not unique

Describe alternatives you've considered

n could be an inverted u, but I think it will start to become messy

Additional context

ianfhunter commented 1 year ago

Partially addressed here https://github.com/ianfhunter/GNOLL/pull/358

(If only rolling two dice)