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

Is it possible to effect a critical success with an attribute?

Hey Roll20 scripters, I am looking to be able to create a critical success on a roll to be 20 minus an ability - something like this: [[ 1d20cs>(20-@{Selected|deception_bonus}) ]] Is this possible? Thanks! Barry
1579380473

Edited 1579380511
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Try this: [[1d20cs>[[20-@{Selected|deception_bonus}]]]]
Thank you keithcurtis! That did it. =)