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 .
×
The Roll20 Black Friday sale is live now! Up to 30% Off Your Favorite Content!

Prompting to subtract dice from a dice pool macro?

1451496821

Edited 1451496853
Hello all. I'm trying to write a roll macro to help with my upcoming Torchbearer game, and I think I've just about got it.  I've got it prompting for the base dice and any bonus dice, but I'm trying to figure out how to prompt for penalties to subtract from the dice pool. Any help would be appreciated.  Also, if there's a cleaner way to do what I'm asking, I'm all for it! /roll ?{Base|1}d6>4 + ?{Bonus|0}d6>4 for ?{Testing}
Just figured this out, and it appears to do what I want! /roll ?{Base|1}d6>4 + ?{Bonus|0}d6>4 - ?{Penalty|0}d6>4 for ?{Testing}
1451497576

Edited 1451497694
Kevin W. said: /roll ?{Base|1}d6>4 + ?{Bonus|0}d6>4 - ?{Penalty|0}d6>4 for ?{Testing} This adds and subtracts hits from multiple dice pools, not dice from a single dice pool. You'd probably want to group your Roll Queries within a single dice pool, like so: /r (?{Base|1} + ?{Modifiers|0 - 0})d6>4 for ?{Testing} or [[ (?{Base|1} + ?{Modifiers|0 - 0})d6>4 ]] hits for ?{Testing}
Ah thanks; grouping was the answer indeed :) /r (?{Base|1} + ?{Bonus|0} - ?{Penalty|0})d6>4 for ?{Testing}