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

Editing 5e NPC Crits

I have a rider effect on all critical hits in my 5e house rules. The problem is, I always forgot to actually apply this rider. So, I figure, I should use some API techno-wizardry to edit critical hits so that all of them will include a little note reminding me of the rider effect. This, I thought, would probably be pretty easy to figure out on my own even without any prior experience with the API or editing character sheets or anything, but after crawling through a few Google searches the closest thing I was able to find is changing the crit damage on individual weapon attacks, which doesn't even seem to be an option for NPCs. Is there any way to force a note to appear whenever a crit is rolled using the Roll20 5e NPC sheets?
1647810348
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Look into the Customizable Roll Listener script. It can listen to rolls that generate particular strings and trigger macros when they occur.