maptool icon indicating copy to clipboard operation
maptool copied to clipboard

Create parser for new dice roller.

Open cwisniew opened this issue 5 years ago • 1 comments

MTScript will come with a shiny new dice roller that has new features and tricks including.

Add a number to each roll Subtract a number from each roll, with the minimum being 1 Subtract a number from each roll, with minimum being 0 Subtract a number from each roll, with no minimum Roll is a success if it matches the condition Reroll the dice if it matches the condition, this will reroll both current, and subsequent rolls that match the condition. Reroll the dice if it matches the condition, but do not roll again if the reroll also matches. Only keep rolls matching the condition Drop rolls matching the condition Keep the highest n rolls, if number is omitted it defaults to 1 Keep the lowest n rolls, if number is omitted it defaults to 1 Drop highest rolls, if number is omitted it defaults to 1 Drop lowest rolls, if number is omitted it defaults to 1 Exploding dice, reroll any dice that match the condition and subsequent rolls that match, if condition is omitted defaults to highest value of the dice. Exploding dice, reroll any dice that match the condition and add to total, if condition is omitted defaults to highest value of the dice. Compound exploding dice, reroll any dice that match the condition and add to the value of the dice being rolled, if condition is omitted defaults to highest value of the dice.

cwisniew avatar Feb 14 '19 04:02 cwisniew

I'm not comprehensive in Dice Expressions but I think this could be done, or certainly seems like some of it is.

Jmr3366 avatar Sep 17 '22 13:09 Jmr3366