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

[Question] Critical Hit and Confirmation

Is it possible to include a script or command as part of a macro that will automatically detect your critical threat range, and then roll it for you provided you reach it? i.e. When using a greatsword, you set the script to look for 19 or 20 when rolling that particular macro, and if 19 or 20 are rolled then it will immediately roll an additional attack using the previous modifiers to determine a critical hit.
1401918750
Lithl
Pro
Sheet Author
API Scripter
In a macro? No, not possible. In a script? Absolutely. There are a couple scripts floating around either devoted entirely to such a thing, or which includes it as part of something bigger. API scripts are only usable in campaigns created by Mentor accounts.
1401918823
Sam M.
Pro
Sheet Author
You can kinda do it in a macro by using /r 1d20>19 but it will continue to roll until it stops rolling 19s and 20s.
Brian said: In a macro? No, not possible. In a script? Absolutely. There are a couple scripts floating around either devoted entirely to such a thing, or which includes it as part of something bigger. API scripts are only usable in campaigns created by Mentor accounts. Thanks for the heads up. I might've dropped this in the wrong subforum, then.