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

Macro that sums up _some_ damage

Did a Roll 20 macro for my Booming Blade + Sneak Attack + Savage Attacker attack ; is there an easy way to total the first three damage rolls (the normal damage , the instant Booming Blade damage , and the Sneak Attack damage , shown bolded) and summarize those ? Also , does this macro work for crits , or do I need extra logic ? /me performs a Booming Blade sneak attack, using Savage Attacker. /roll 1D20+6 vs AC /roll {1D8+3,1D8+3}kh1 Damage roll twice, use highest /roll 1D8 Booming Blade Damage /roll 3D8 Sneak Attack Damage /roll 2D8 Booming Blade Damage if enemy moves
1715118220
GiGs
Pro
Sheet Author
API Scripter
When asking for help with macros, never assume that people know the system you are asking about. Explain everything you need to. My guess is you want to look into the default rolltemplate, and reusing rolls. I could give more help if I knew exactly wat you wanted. I'm sure someone else can answer your request.
Paul M. said: Did a Roll 20 macro for my Booming Blade + Sneak Attack + Savage Attacker attack ; is there an easy way to total the first three damage rolls (the normal damage , the instant Booming Blade damage , and the Sneak Attack damage , shown bolded) and summarize those ? Not using the standard /roll commands.  You can use inline rolls: $[[0.computed]] + $[[1.computed]] + $[[2.computed]] = [[ [[2d8kh1+3]] + [[1d8[Booming Blade Damage]]] + [[3d8[Sneak Attack Damage]]]]] Using the 'default' (purple) template would look like this: &{template:default} {{name=Booming Blade sneak attack, using Savage Attacker}} {{Attack Roll=[[1D20+6]]}} {{Savage Attacker = $[[1.computed]]}} {{Booming Blade = $[[2.computed]]}} {{Sneak Attack = $[[3.computed]]}} {{Total Damage=[[ [[2D8kh1+3]] + [[1d8[Booming Blade Damage]]] + [[3d8[Sneak Attack Damage]]]]]}} {{Booming Blade Damage if enemy moves=[[2d8]]}} If you're playing D&D 5th Edition using the 'D&D 5E by Roll20 Sheet' you could use the 'atkdmg' template: &{template:atkdmg} {{mod=3}} {{rname=WEAPON TYPE}} {{charname=CHARACTER NAME}} {{r1=[[1d20+6]]}} {{normal=1}} {{attack=1}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[ [[2d8kh1+3]] + [[1d8[Booming Blade Damage]]] + [[3d8[Sneak Attack Damage]]]]]}} {{dmg1type=dmg1type}} {{dmg2flag=1}} {{dmg2=[[2d8]]}} {{dmg2type=Booming Blade Damage if enemy moves}} {{desc=Savage Attacker = $[[1.computed]] Booming Blade = $[[2.computed]] Sneak Attack = $[[3.computed]]}} {{crit1=[[ 2d8kh1+3 + 1d8 + 3d8]]}} {{crit2=[[2d8]]}} This will also include the extra damage from critical hits.
1715194777

Edited 1715195459
Thanks all! The D&D 5th Edition template above works great for me.