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

Critical Success on combined number?

I use 2d10 instead of 1d20 in my 3.5-ish game and would like to be able to have e.g. [[2d10cs>18]] work on the total of 2d10, not on the individual dice. (So that if someone attacks with a scimitar and rolls two nines, it would display as a critical hit, just as it would using 1d20 if they were to roll 18.) I thought that [[[[2d10]]cs>19]] or [[{1d10 + 1d10}cs>10]] might work, but they don't. Is there a way to do this currently? If not, could making cs and cf work on Roll Groups be added as a feature?
1498654614

Edited 1498654861
Loki
Sheet Author
Hi, apparently this is not possible without using the API. I tried something like this for my own character sheet, but ultimately resigned and wrote an API script that checks rolls for their sum and compares this to a specific number. As an example (untested): on("ready", function() {     on("chat:message", function(msg) {        if(msg.type == "rollresult")        {             var rolldata = JSON.parse(msg.content);             var number = 18;             _.each(rolldata.rolls,function(r){                 if('R' === r.type && 10 === r.sides)                 {                     _.each(r.results, function(roll){                         if (roll.v < number)                         { // Success!                         } else if (roll.v > number)                         { // Failure                         }                     });                 }             });         } }); }); Greetings.