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 .
×
Create a free account

Infinity RPG macro help - critical hits count as two successes

Hello all, I'm having some trouble setting up a die-rolling macro for my Infinity RPG campaign (by Modiphius). When making a test, you roll a number of d20s and any results under a given target number count as one success (this is pretty straightforward to set up). However, characters also have a level of Focus for each skill; if you roll under your skill focus when making a test, that die counts as scoring two successes instead of one. How would I set up a macro to count the total successes from a die roll like this?
1470748631
Pat S.
Forum Champion
Sheet Author
Other than having to eyeball it, you would have to use the API (pro subscription) probably. I would wait to see if anyone else comments before taking my word.
1470755492
The Aaron
Pro
API Scripter
You might try something like: [[ @{num}d20cf>21cs<@{focus}<@{target} ]] The idea being: Roll @{num} number of d20, with @{num} being an attribute on the current character (could be ?{num|1} or something) cf>21 sets the critical failure (red outline) to be something impossible, so it doesn't confuse things cs<@{focus} means the result will be green if there are extra successes to count, @{focus} would be the attribute that tells the focus level for the character or 0 if they have none. <@{target} is what to count as a basic success.  Could also be ?{target|15} or some such. The practical upshot being that a roll would be yellow and tell you the number of successes or green and tell you the minimum number of successes but you'd point to it to see all the ones that were additional successes (and they would show up as green for speedy counting).  That should make it pretty fast to interpret.  In the case where it's green and 1 success, you know it's really 2.  If it's 2 and green, it's at least 3, etc.  Probably there are a bunch of cases where that knowledge is enough that you don't even need to count.
Thanks, I'll set up a macro like The Aaron suggested. Maybe someday if I have Pro I'll look into an API solution :)