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

How to write a booming blade macro

I don't know how to write a macro
Dnd 5e 
If you're using the 5E by Roll20 Sheet, this could work for you. Go to the Attributes and Abilities tab for your character, create a new Ability, label it Boom-Blade and then for the body of it, you can use this (as long as your character is at least 5th level): &{template:dmg} {{rname=Booming Blade}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[[[(round((@{level} + 1) / 6 + 0.5))-1]]d8]]}} {{dmg1type=Thunder}} Normal 0 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:8.0pt; mso-para-margin-left:0in; line-height:107%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} ?{Did it Crit?|No,|Yes, {{crit=1}} } {{crit1=[[[[(round((@{level} + 1) / 6 + 0.5))-1]]d8]]}} {{charname=<character name>}} It will prompt you asking whether the attack was a critical hit. Now, to add it so it's easy to access go to the weapon you're using in your Attacks and Spellcasting section, in the description box put [Booming Blade](~<character name>|Boom-Blade) It will put the words Booming Blade in the description of your weapon's attack, and you can click on those words to run the macro. You'll also need another entry for making the secondary damage, which you can do with the regular Attacks and Spellcasting fields, using [[(round((@{level} + 1) / 6 + 0.5))]]d8 as the damage amount, which is the standard cantrip damage progression calculation.
1590734810

Edited 1590735372
Oosh
Sheet Author
API Scripter
Mine is pretty similar to Dakota's, maybe a tiny bit simpler as there is no query. Under your weapon(s) in Attacks & Spellcasting (same as the second half of Dakota's instructions above), you will need to add some fields to each weapon you will be using Booming Blade with (and will need to re-paste it into the fields for future upgrades). If you're likely to be using your weapons vanilla-style with no Boom on them, just drag an extra copy of the weapon in from the compendium and edit that copy instead, calling it BB <weapon> or whatever you wish. The fields I use are: DAMAGE2: [[floor((@{level} + 1) / 6)]]d8 DAMAGE2 TYPE: Thunder DESCRIPTION: Target takes bonus [[ [[floor((@{level} + 1) / 6)+1]]d8 ]] damage if it willingly moves before start of Cleric's next turn. If you are below level 5, just untick the DAMAGE2 checkbox if the 0d8 rolls bother you. Also change the word Cleric in the description if you're not a Cleric! As long as you leave the DAMAGE2/CRIT field alone (it should have a greyed out '1d6' in it) it will automatically roll double whatever is in the DAMAGE2 field when you crit. AFAIK the bonus BB damage if the enemy moves does not crit, as it is not triggered by the attack roll. Here are some specifically arranged coloured pixels, frozen in time: Cast by a cheating Cleric who crit with a 19. Level 7, so a 2d8 bonus roll, 1d8 + 1d8 [crit] secondary damage roll.
How do I make feilds for my weapon
1590746226
Ziechael
Forum Champion
Sheet Author
API Scripter
Which of the 5e sheets does your game use?
The way I handle it is that I have a custom melee attack that adds links in the description that add booming blade primary and secondary damage. This enables the same macro to be used for a normal attack, as well as the Booming Blade action. Thus the secondary damage from BB is just a click away. These use the handy /6 trick to account for player level.   @{Rekine|wtype}&{template:atk} {{mod=[[@{Rekine|pb}[PROF]+@{Rekine|dexterity_mod}[DEX]]]}} {{rname=[Shortsword](~Rekine|repeating_attack_$0_attack_dmg)}} {{rnamec=[Shortsword](~Rekine|repeating_attack_$0_attack_crit)}} {{r1=[[@{Rekine|d20}cs>20 + @{Rekine|pb}[PROF]+@{Rekine|dexterity_mod}[DEX]]]}} @{Rekine|rtype}cs>20 + @{Rekine|pb}[PROF]+@{Rekine|dexterity_mod}[DEX]]]}} {{range=}} {{desc=[Do Sneak Attack](~selected|SneakAttack) [Do Booming Blade](~selected|BoomingBladePrimary) [Booming Blade target moved](~selected|BoomingBladeSecondary)}} {{spelllevel=}} {{innate=}} {{globalattack=@{Rekine|global_attack_mod}}} ammo= @{Rekine|charname_output} BoomingBladePrimary &{template:dmg}{{rname=Booming Blade([[ceil(@{base_level}/6)-1]]d8)}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[[[ceil(@{base_level}/6)-1]]d8]]}}{{charname=@{character_name}}} BoomingBladeSecondary &{template:dmg}{{rname=Booming Blade([[ceil(@{base_level}/6)]]d8)}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[[[ceil(@{base_level}/6)]]d8]]}}{{charname=@{character_name}}}