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 .
×
The team is currently investigating an issue impacting user logins.
Create a free account

Macro Help with a special Divine Smite

So I play a paladin with some homebrew rules (using Ancestral Weapons if you know what that is) and my Divine Smite macro currently is: &{template:dmg} {{rname=Divine Smite}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[[[(?{Spellslot|1st lvl,3|2nd lvl,4|3rd lvl,5|4th lvl,6} + ?{Undead/Fiend|No,0|Yes,1})*?{Crit|No,1|Yes,2}]]d8]]}} {{dmg1type=Radiant}}&{template:dmg} {{rname=Divine Smite}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[[[(?{Spellslot|1st lvl,2|2nd lvl,3|3rd lvl,4|4th lvl,5} + ?{Undead/Fiend|No,0|Yes,1})*?{Crit|No,1|Yes,2}]]d8]]}} {{dmg1type=Radiant}} It's slightly different in that I get an extra 1d8 on my base Divine Smite. What I need help with is, if I Crit, I need an extra 2d6 added to the macro. It doesn't double, just rolls and adds to my overall damage roll. Is this doable? Please and thank you. :)
Since you activate the smite after you do your attack and know when is a crit, this is a simple way: &{template:dmg} {{rname=Divine Smite}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[[[[[(?{Spellslot|1st lvl,3|2nd lvl,4|3rd lvl,5|4th lvl,6} + ?{Undead/Fiend|No,0|Yes,1})*?{Crit|No,1|Yes,2}]]d8]] + ?{2d6?|No,0|Yes,[[2d6]]}]]}} {{dmg1type=Radiant}} I hope this helps.
1664229564

Edited 1664229611
Hmmm... doesn't seem to work. It does do the drop down for the 2d6, but it doesn't show up in the roll itself. I did a simple 1st level crit smite and it rolled 6d8 (that's including the extra 1d8s I get for Charged smite.) 2d8 x 2 then the 1d8 x2 for a first level smite. No added 2d6 (non-crit) at the end. &{template:dmg} {{rname=Divine Smite}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[[[(?{Spellslot|1st lvl,3|2nd lvl,4|3rd lvl,5|4th lvl,6} + ?{Undead/Fiend|No,0|Yes,1})*?{Crit|No,1|Yes,2}]]d8]]}} {{dmg1type=Radiant}}&{template:dmg} {{rname=Divine Smite}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[[[(?{Spellslot|1st lvl,2|2nd lvl,3|3rd lvl,4|4th lvl,5} + ?{Undead/Fiend|No,0|Yes,1})*?{Crit|No,1|Yes,2}]]d8]]}} + ?{2d6?|No,0|Yes,[[2d6]]}]]}} {{dmg1type=Radiant}}
Your macro seems to have become garbled. I'd suggest replacing it in it's entirety with the following &{template:dmg} {{rname=Divine Smite}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[ [[(?{Spellslot|1st lvl,3|2nd lvl,4|3rd lvl,5|4th lvl,6} + ?{Undead/Fiend|No,0|Yes,1})*(1+?{Crit|No,0|Yes,1})]]d8 + [[2*?{Crit}]]d6]]}} {{dmg1type=Radiant}} I've also cleaned it up so the 2d6 is tied to the Crit query rather than being separate.
Perfect! Thank you very much :)