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 .
×
May your rolls be chill this holiday season!
Create a free account

Critical Check in Default Roll Template

Hey guys, what's up? I'm playing a system that doesn't have a sheet on roll20 yet with my friends. One of it's features is that some weapons may land criticals with lower dice results (like a 19 or a 18) and some weapons have multipliers for the criticals (3x or 4x dice rolls instead of the classic 2x roll). I've build a macro for my player to roll an attack using the default template for roll20. I created an attribute called "weaponDmg" which takes the standard damage from the weapon, for instance, "2d6". So, i'm calculating damage in the template like this: {{damage=[[@{weapon1Dmg} + @{Mod_Dex}]]}} I've seen on the  dice reference wiki page  that i can use cs>x to specify the critical roll value for an specific attack. How can i get it to work with the inline roll? I've tryed nesting it after the sheet attribute, like this {{damage=[[@{weapon1Dmg}cs>18 + @{Mod_Dex}]]}} but it didn't work. Any solutions? And also, is there any way to calculate automatically the critical damage on the default template based on the critical multiplier?
1569941505

Edited 1569941592
Kraynic
Pro
Sheet Author
I think you need the cs on the attack roll.  What it does is outline the final number in green if it is a critical.  if you had 1d20cs>18 (followed by any modifiers), that should work correctly on the attack line.  As far as the different multipliers, you will need to multiply it out yourself or have different macros for the damage output depending on what your attack roll was.  So you would roll your attack, then roll the macro for normal or crit damage.  Or create a macro that outputs both normal and crit damage, and you take whichever one needed based on the attack.  Anything more automated than that will probably require a pro sub for access to the api to allow the use of something like the Power Cards script.
Kraynic said: I think you need the cs on the attack roll.  What it does is outline the final number in green if it is a critical.  if you had 1d20cs>18 (followed by any modifiers), that should work correctly on the attack line.  As far as the different multipliers, you will need to multiply it out yourself or have different macros for the damage output depending on what your attack roll was.  So you would roll your attack, then roll the macro for normal or crit damage.  Or create a macro that outputs both normal and crit damage, and you take whichever one needed based on the attack.  Anything more automated than that will probably require a pro sub for access to the api to allow the use of something like the Power Cards script. OMG, you're tottally right! Only now i've noticed why it's not working! Silly me! HAHAHAHAHA Thanks for the help!