I basically need to do this: Take the relevant attribute and subtract or add the difficulty modifier to it. Roll that many d6s. Reroll all 6s. Each 1 is a success. If they're all 5 it's a critical failure. This is my attempt, but it doesn't work: /roll {@{Physical} - ?{Difficulty|0}}d6r6 EDIT: /roll (@{Physical} + ?{Difficulty|0})d6r6=1 Now I need critical failures. EDIT: After realizing that there's nothing stopping me from using d5s: /roll (@{Physical} + ?{Difficulty|0})d5=1 Still can't figure out how to implement critical failures.