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

[5e Community] adding on crit effects to class actions/macros on community contributed sheet?

1473448531

Edited 1473448736
How would i go about this? I've played around with the weapon roll itself in the macros section, and it's this line that does the crit damage. {{weaponcritdamage=Additional [[@{rangedcritdmg1}]]damage}} What i want to do is to be able to do things like add the sneak attack effect to the crit damage. What i current have in class actions is sneak attack [[2d6]]|crit+[[2d6]] but i want the second section to only appear on critical strikes. my current best solution is to run every attack role in the abilities screen and use {{weaponcritdamage=Additional [[@{rangedcritdmg1}]]damage+[[2d6]] sneak attack damage}} but it looks ugly. I tried to make a second section so it looked like {{weaponcritdamage=Additional [[@{rangedcritdmg1}]]damage}}{{weaponcritdamage=Additional [[2d6]] sneak attack damage}} but it only displays the last one, and if i try renaming anything it doesn't only show up on crits. I can't find anything on the sheet HTML that tells it what to add on a crit success. Is there a way to just add more headers that only appear on crits?
1473450045
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The roll template is defined in the sheet and will only do that if/then logic on predefined fields.
You can actually add a line break inside the crit field so the sneak attack damage ends up on a second line. {{weaponcritdamage=Additional [[@{rangedcritdmg1}]] damage + [[2d6]] sneak attack damage}} Just add a line break there and it should look a lot prettier. Happy gaming
Bradley C. said:  I tried to make a second section so it looked like {{weaponcritdamage=Additional [[@{rangedcritdmg1}]]damage}}{{weaponcritdamage=Additional [[2d6]] sneak attack damage}} but it only displays the last one FYI when two fields in a roll template have the same name the second one will overwrite the first.