dice-notation-java icon indicating copy to clipboard operation
dice-notation-java copied to clipboard

consider allowing multiplication and division

Open danlangford opened this issue 5 years ago • 13 comments

sometimes, though usually its rare, an RPG will ask for multiplication or division. Here is an example from the freely available "Basic Rules" of Dungeons & Dragons 5th Edition:

Starting Wealth

Class Funds
Cleric 5d4 × 10 gp
Fighter 5d4 × 10 gp
Rogue 4d4 × 10 gp
Wizard 4d4 × 10 gp

would you consider allowing multiplication (poss chars: x, *, ×) and division (poss chars: /, ÷) i personally prefer the charcaters * and /.

i would be willing to take a look at adding the necessary operation classes. I wanted to just bounce it off you first in case you have already ruled it out

danlangford avatar Jan 07 '19 21:01 danlangford