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

Inline CS + KH Issues

1628994592

Edited 1628996623
I think I've tried every combo possible, lol, but I can't find the one that R20 likes. I have an "advantage" system, but since it is d12 based instead of d20, I need the nat. 12 rolls to highlight green. The code below doesn't work (nor does the other 20 combinations I've tried); & yes this is part of a custom template (if that matters). Any suggestions? TIA [[ {2d12cs>12}kh1 ]]
Had to drop the inline brackets to get this to work right. I'm pretty sure this is the way my old (custom) PC sheet worked prior to the R20 updates... but maybe not. I'm tired, & prolly just made a dumb mistake. Anyway... for anyone looking for a simple solution in using both a CS (Critical Success) or CF, plus a Keep High (or Low) function... this is it... {3d12cs>12}kh1 // Keep the highest of 3 'd12' rolls, with a Crit Success on a nat. roll of 12 or greater {3d12cf<2}kh1 // Keep the highest of 3 'd12' rolls, with a Crit Fail on a nat. roll of 2 or less {3d12cs>12}kl1 // Keep the lowest of 3 'd12' rolls, with a Crit Success on a nat. roll of 12 or greater {3d12cf<2}kl1 // Keep the lowest of 3 '12' rolls, with a Crit Fail on a nat. roll of 2 or less
1629004261
Kraynic
Pro
Sheet Author
If you are only having the maximum roll be the critical strike, you don't need the cs>12 in there.  The dice roller will automatically outline a maximum roll for any die size in green, a minimum roll in red, and a multi-die roll that contains both minimum and maximum roll in blue.
1629041074

Edited 1629041097
Actually... for some, strange reason... I do. I assumed that max. & min. nat. rolls would be hard-coded in, but prior to adding the cs calc into my template, it wouldn't recognize my max rolls (only the min rolls). I only added the "cf" option to the roll formulas above as a means of reference to someone new to R20 who stumbles on this thread. I don't need or use the "cf" function in my sheets, due to the hard-code. But should someone need it, I thot it would be good to add that here. Any-who... thx for your input on the matter.