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

Critical Hit Macros

I'm new to macros and trying to figure out how to make this attack work with critical hits and doubling damage. I understand that I can use 1d20cs>18 to have them show up as critical hits, but not sure how to go about the damage part. Any help greatly appreciated! Soul Shadow: [[1d20 + @{Draven Mallar|bab} [BAB] + @{Draven Mallar|size}[Size] + @{Draven Mallar|weapon1stat}[Dex] + @{Draven Mallar|weapon1enh}[Weapon Enh] +@{Draven Mallar|weapon1focus}[Weapon Focus] + ?{Flank (1=yes)|0}*2[Flank] + ?{SH Maneuver?(1=yes)|0}*2 +1[Discipline Weapon] + ?{Goblinoid(1=yes)|0}[Goblin] - ?{Charge/Pounce(1=yes)|0}*2[Charge] ]] Damage: [[1d2 + @{Draven Mallar|dex-mod} + @{Draven Mallar|wis-mod} +?{SA (1=yes)|0}*3d6 [Sneak Attack] ]]
1559412058
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I don't think this is possible without using a roll template. For a critical roll to work, you have to roll all the dice, since macros can't roll conditional damage. Roll templates hide the unused dice, but they are still rolled. This is why many people are surprised when they roll 3d dice that they get nearly twice as many as they were expecting.
1559413603
Ziechael
Forum Champion
Sheet Author
API Scripter
You could put your damage macro separate and have it as a button that can be clicked if a hit is confirmed, this would give you the benefit of knowing if you've scored a crit or not first: Macro 1: Soul Shadow: [[1d20 + @{Draven Mallar|bab} [BAB] + @{Draven Mallar|size}[Size] + @{Draven Mallar|weapon1stat}[Dex] + @{Draven Mallar|weapon1enh}[Weapon Enh] + @{Draven Mallar|weapon1focus}[Weapon Focus] + ?{Flank|No,0|Yes,2}[Flank] + ?{SH Maneuver?|No,0|Yes,2} + 1[Discipline Weapon] + ?{Goblinoid|No,0|Yes,1}[Goblin] - ?{Charge/Pounce|No,0|Yes,2}[Charge] ]] [Click me on a hit!](!
#dravendamage) Macro 2 (called dravendamage in this example): Damage: [[ (1d2 + @{Draven Mallar|dex-mod} + @{Draven Mallar|wis-mod} + ?{SA|No,0|Yes,3d6}[Sneak Attack]) * ?{Critical Hit|No,1|Yes,2} ]]
Hey that's awesome! Thanks for cleaning up the inputs as well for me!
1559465091
Ziechael
Forum Champion
Sheet Author
API Scripter
You are most welcome :) Happy rolling!