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

Highlighting crit for 2d6 instead of only one die result

1693873155

Edited 1693873194
Daniel S.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
I've been looking through a few other posts, but can't seem to find a direct answer to this. It seems that when I roll 2d6, even in my own rolltemplate inside a sheet, it will automatically highlight the combined roll result if there is a 1 or a 6 in either die result. I found this article here from another forum, and tried implementing the 1d20cs20cf1 but instead doing 2d6cs12cf2. <a href="https://wiki.roll20.net/Dice_Reference#Critical_Success_and_Fumble_Points" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Critical_Success_and_Fumble_Points</a> However the result was that it only highlighted the 2 number for one die at a time. I can't seem to find a way for it to base the crit success and failure on the combined result instead of just one die. I'm hoping to put this inside the character sheet code, so it's consistent every time and simple for the user. Is this possible? Would it require some sheetworker shenanigans at the end? Thanks!
1693883158

Edited 1693883827
GiGs
Pro
Sheet Author
API Scripter
Roll20 criticals only work per die. You cannot get it to work on two dice. If you are working on your own sheet, you can use a rolltemplate or custom roll parsing to show criticals on multiple dice. You cant do it with a simple dice expression though.
1693926497
Daniel S.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
Good to know, thanks. I found this article. <a href="https://wiki.roll20.net/Custom_Roll_Parsing" rel="nofollow">https://wiki.roll20.net/Custom_Roll_Parsing</a> I'm having trouble making sense of it. Seems decipherable to make a roll that shows a total of different numbers using this. Not sure how I would translate that to changing the border highlight color to only respond to 2 6's or 2 1's. I can look into the GURPS sheet to see if it has any insights. But do you know of any examples somewhere that do something similar I could dig into? Or any advice on getting started with this sort of thing?
1693929796

Edited 1693929866
GiGs
Pro
Sheet Author
API Scripter
I'm not aware of any good examples (though I'm working on some for my own site ), so we'd have to build one from scratch. Custom Roll Parsing is launched from an action button. How do you plan to start yours? A different button for each skill? You need a roll string that represents your roll (like &amp;{template:default} {{name=Acrobatics}} {{roll=2d6}} - how is your roll expressed? What does it need to do and contain? If you are doing anything special (like show 2 dice criticals), you need a custom rolltemplate. What's yours called,and what does it need to show?