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 .
×

Macro for d6 dice pools where 6s count as 2 successes

I'm playing a game with d6 dice pools, where 4s and 5s count as 1 success and 6s count as 2 successes. Is it possible to make a macro that accomplishes this?
1673923674

Edited 1674013394
GiGs
Pro
Sheet Author
API Scripter
It is, kind of, but not in obvious way. You can count failures as well as successes, so each die gives -1, 0, or 1 success. If you then add the number of dice, you get 0, 1, or 2 successes, which is what you want. So you can do it this way: /roll ?{number|1}d6>6f<3 + ?{number} and maybe have it look more presentable &{template:default} {{name=?{number|1} dice}} {{Successes= [[?{number|1}d6>6f<3 + ?{number}]] }} You could rearrange this to show what you want - the idea is to hide the complicated roll inside an inline roll.
1674013331
GiGs
Pro
Sheet Author
API Scripter
Note: I just fixed a typo in the rolltemplate above, so if you tried it and it wasnt working, try it again.
1674089050

Edited 1674089320
Wow, thank you, this is great!