Dice Expressions
MapTool's chat window and macro system supports several of the most common dice expressions based on the formats XdY and dY.
Dice Expressions
In the table below, the variable Y is described as the "number of sides" on the dice being rolled; in reality the dice roller is picking a random number between 1 and Y. The end result is the same.
Expression | Function | Description | Example |
---|---|---|---|
XdY | Roll X dice with Y sides each. If X is not included, roll 1 die with Y sides. | /roll 1d20 rolls one twenty-sided die and presents the result in chat | |
XdYdN | drop | Roll X dice with Y sides each, and drop the lowest N dice afterwards | /roll 4d6d1 rolls four six-sided dice, drops the lowest roll, and presents the total in the chat window |
XdYkN | keep | Roll X dice with Y sides each, and keep the highest N dice afterwards | /roll 4d6k3 rolls four six-sided dice, keeps the highest 3 rolls, and presents the total in the chat window |
XdYrL | reroll | Roll X dice with Y sides each, rerolling any results lower than L | /roll 3d8r2 rolls three eight-sided dice, rerolls any dice that are lower than 3, and then sums and presents the total in chat |
XdYsS | success | Roll X dice with Y sides each, and count any rolls that meet or exceed S | /roll 4d6s4 rolls four six-sided dice, and counts any individual roll that exceeds four, presenting the number of "successes" in chat |
XdYe | explode | Roll X dice with Y sides each, and reroll any dice that roll their maximum value and add the new roll to the total | /roll 2d6e rolls two six-sided dice, and if either rolls a 6, it is rerolled and added to the total (this continues until neither die rolls a 6) |