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

Rolling with multiple levels of success

I run a homebrew system and am trying to get a custom macro going. Most rolls are 2d10 with each die counted individually, aiming at Hit numbers. So a 2d10+3 would be for example (4, 6) + 3 > 7 == 2 Successes. /roll {2d10+?{Total Modifier}}>7 That's the easy part. The harder part is that there are multiple levels of success- at 7, 11, 15 and 19 specifically. So a roll of 9 with a +10 modifier can score 4 hits on one die. Can this be done with the macro system? My brain hurts trying to nest those functions. Bonus: Doubles counts as a crit, for +2 successes. I don't think this can be done innately, but highlighting when a crit occurs allows us to hash it out manually.
1584557392

Edited 1584557783
GiGs
Pro
Sheet Author
API Scripter
You cant use a roll in two different ways in roll20 - so you could either look at each die and count successes as you have done, or look at the total and count successes that way. There's no way to do both at the free subscriber level. You could do this with a custom script using the API, but that's a Pro subscriber feature.
1584584639

Edited 1584585762
I could be convinced to buy premium, I use the site a bunch. Edit: I'm more asking if I could use nested > operators, like (1d10+X)>7>11>15>19, but that doesn't work innately or with ( ) as far as I can tell and it feels like it's something that could be possible? If I were to use a custom script what would that look like?