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

Critical Failure Macro help

I have looked and not sure if it is possible outside of API. I am stuck keeping at the macro-level (Since I am a player). My GM has a house rule that 1,2,3 auto misses and I am trying to add that to my roll. Here is my Macro- &{template:default} [[ [[{{1d20cf1cf2cf3cs20+?{To Hit|20}}>?{AC to Hit|10}}*(1d10cs0cf0+5+6+2)]] + [[{{1d20cf1cf2cf3cs20+?{To Hit|20}}>?{AC to Hit|10}}*(1d10cs0cf0+5+6+2)]] + [[{{1d20cf1cf2cf3cs20+?{To Hit|20}}>?{AC to Hit|10}}*(1d10cs0cf0+5+6+2)]] ]] {{name=My Attack}} {{Attack 1$[[0]]}}  {{Attack 2$[[1]]}}  {{Attack 3$[[2]]}}=={{Total$[[3]]}} What this does is roll my 3 attacks and then adds up all the damage. The first part of the macro does a check of attack roll vs AC, if I beat the AC, then it does outputs the damage by either *1 for success on the attack or *0 for not beating AC. What I want to do is 1,2,3 (Critical Failure) and have that do *0 for the damage. I am not sure it is possible and thus I am turning to the Macro Gods and see if someone might be able to help. Thanks for the time you took to read this and Godspeed!
1611331152

Edited 1611331260
Jordan C.
Pro
API Scripter
Looks like you were very close! I believe this accomplishes what you are asking [[ [[ {{1d20cf1cf2cf3cs20+?{To Hit|20}}>?{AC to Hit|10}} ]] * [[ (1d10cs0cf0+5+6+2) ]] ]] The bolded brackets were added in by me so that it performs the success or failure calculation and the damage calculation, then calculates the two together. "$[[2]]" gets the damage total for that one specifically and I believe would increment by three from there so 5, and 8 would be the following ones.. E:  Here is the full macro &{template:default} [[ [[ [[{{1d20cf1cf2cf3cs20+?{To Hit|20}}>?{AC to Hit|10}}]]*[[(1d10cs0cf0+5+6+2)]] ]] + [[ [[{{1d20cf1cf2cf3cs20+?{To Hit|20}}>?{AC to Hit|10}}]]*[[(1d10cs0cf0+5+6+2)]] ]] +[[ [[{{1d20cf1cf2cf3cs20+?{To Hit|20}}>?{AC to Hit|10}}]]*[[(1d10cs0cf0+5+6+2)]] ]] ]] {{name=My Attack}} {{Attack 1$[[2]]}} {{Attack 2$[[5]]}} {{Attack 3$[[8]]}}=={{Total$[[9]]}}