maptool
maptool copied to clipboard
Create parser for new dice roller.
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
I'm not comprehensive in Dice Expressions but I think this could be done, or certainly seems like some of it is.