Subtracting from Die Rolls

Hello, all - new user here, so forgive me if this is a very basic question.

In my current generator, I'm attempting to include a dice roll, 2d10+1d6-2, as well as a few others like it.

I've tried just about every iteration of this formula, with brackets, curly braces, and spaces between characters; even rearranging the numbers so that the 2 is first in the equation. None of this seems to work; it always gives me an error message saying "1d6-2 is not a valid integer value" or "2-1 is not a valid integer value."

I've gone through the instructions but can't seem to find any examples showing subtracting a number from a die roll (they all seem to be addition, multiplication, or division), so I can't confirm where I'm making a syntax error.

Anyone know how I can do this?


  • Try:

    table: example
    roll is {2d10+1d6-2}

    If you want to save it to a variable, assign it within the braces

    table: example
    {a==2d10+1d6-2} roll is {$a}
  • That did the trick! Thank you very much! :)

Leave a Comment