Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

How do I implement CRAM ability checks?

1395096973

Edited 1395099163
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.
I'm pretty new at this, but I *think* you'll have to do one of two things: 1. Get the API (mentor level support), or 2. Resign yourself to just showing the dice results and not automating the interpretation of them. This is because I don't think there's a way to count the number of 1's AND the number of 5's that got rolled.
I am not sure if this is what you want, but you can get the net number of successes like this: /roll (@{Physical} + ?{Difficulty|0})d5=1f5 which will count a success for each 1 and a failure(-1 success) for each 5. If you need the individual numbers, you may have to just look at the dice.
As Rendelle mentioned, there's no way to do multiple comparisons with the Macro system. In order to do more than one operation on a roll you will need to upgrade to Mentor support level and use an API script.