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

Booming Blade DnD 5e 2024 Macro, 3D Dice Issue

I'm working on a macro for Booming Blade and ran into an problem with the 3D dice. The dice formula's all seem to be correct but when rolled it only shows the 3D Dice for the "If Critical" Thunder damage.  &{template:default} {{name=Fractured Coronal Booming Blade}} {{Attack= [[?{Advantage?|Normal Roll,1d20| Advantage,3d20kh1| Disadvantage,2d20kl1} + @{Galinndan|intelligence_bonus}+@{Galinndan|pb}]]}} {{Damage= [[1d8+@{Galinndan|intelligence_bonus}+2]] radiant damage & [[[[(ceil((@{Galinndan|level} + 2)/6)-1)]]d8]] thunder damage}} {{If critical [[20+@{Galinndan|intelligence_bonus}+@{Galinndan|pb}]]= [[2d8+@{Galinndan|intelligence_bonus}+2]] radiant damage & [[[[(ceil((@{Galinndan|level} + 2)/6)-1)*2]]d8]] thunder damage}} {{Booming Energy= On a hit, if the target willingly moves 5 feet or more before the start of your next turn, the target takes [[(round((@{Galinndan|level} + 1) / 6 + 0.5))]]d8 thunder damage, and the spell ends.}} {{Sap Weapon Mastery= If you hit a creature with this weapon, that creature has Disadvantage on its next attack roll before the start of your next turn.}} {{Critical Effect= The target needs to make a DC [[13]] Con save or the creature’s speed is halved until the end of its next turn. In addition, if the creature is able to make multiple attacks using a Multiattack action or Extra Attack feature, it makes one fewer attack while its speed is reduced in this way.}} Does anyone know why it's excluding the rest of the rolls?
1754377549

Edited 1754378508
Gauss
Forum Champion
Hi David R.,  Sometimes when there is a lot going on, or when the inline brackets bury a roll too deeply (multiple layers of inline brackets) the 3d dice roller doesn't display them. The only solution for this that I know is to change how you set up the rolls so that they display. IF that is possible for what you are trying to do that is.  Edit: I did some testing and as soon as I put in the "If Critical" section the 3d dice go awry. I will take a look to see if I can fix that in your macro.
1754380814

Edited 1754380828
Gauss
Forum Champion
Alright, I have a solution, but it will require some manual setup when you level.  Create an attribute, call it "cantrip_dice" or something. Put the number of dice you have at your current level in the attribute.  &{template:default} {{name=Fractured Coronal Booming Blade}} {{Attack= [[?{Advantage?|Normal Roll,1d20|Advantage,3d20kh1|Disadvantage,2d20kl1} + @{Galinndan|intelligence_bonus}+@{Galinndan|pb}]]}} {{Damage= [[1d8+@{Galinndan |intelligence_bonus}+2]] radiant damage & [[@{ cantrip_dice }d8]] thunder damage}} {{If critical= [[2d8+@{ Galinndan |intelligence_bonus}+2]] radiant damage & [[(@{ cantrip_dice }*2)d8]] thunder damage}}  {{Booming Energy= On a hit, if the target willingly moves 5 feet or more before the start of your next turn, the target takes [[(round((@{ Galinndan |level} + 1) / 6 + 0.5))]]d8 thunder damage, and the spell ends.}} {{Sap Weapon Mastery= If you hit a creature with this weapon, that creature has Disadvantage on its next attack roll before the start of your next turn.}} {{Critical Effect= The target needs to make a DC [[13]] Con save or the creature’s speed is halved until the end of its next turn. In addition, if the creature is able to make multiple attacks using a Multiattack action or Extra Attack feature, it makes one fewer attack while its speed is reduced in this way.}}  You will need to manually update the number of dice in the attribute when you hit levels 5, 11, and 17.  But, based on my testing by reducing the number of inline rolls all the dice will roll. 
1754382963

Edited 1754383336
Gauss
Forum Champion
Ok, I wasn't happy with that so I did some more investigating. On the idea that perhaps it was a double inlines vs single inline rolls issue, I tried something. I wrapped your roll modifiers in extra inline rolls. Now with all the rolls at the same "level" it worked, without having to use the attribute method I mentioned above.  Don't ask me why, I am not a programmer. But, here you go:  &{template:default} {{name=Fractured Coronal Booming Blade}} {{Attack= [[?{Advantage?|Normal Roll,1d20| Advantage,3d20kh1| Disadvantage,2d20kl1} + [[@{Galinndan|intelligence_bonus}+@{Galinndan|pb}]]]]}} {{Damage= [[1d8+[[@{Galinndan|intelligence_bonus}+2]]]] radiant damage & [[[[(ceil((@{Galinndan|level} + 2)/6)-1)]]d8]] thunder damage}} {{If critical [[20+@{Galinndan|intelligence_bonus}+@{Galinndan|pb}]]= [[2d8+[[@{Galinndan|intelligence_bonus}+2]]]] radiant damage & [[[[(ceil((@{Galinndan|level} + 2)/6)-1)*2]]d8]] thunder damage}} {{Booming Energy= On a hit, if the target willingly moves 5 feet or more before the start of your next turn, the target takes [[(round((@{Galinndan|level} + 1) / 6 + 0.5))]]d8 thunder damage, and the spell ends.}} {{Sap Weapon Mastery= If you hit a creature with this weapon, that creature has Disadvantage on its next attack roll before the start of your next turn.}} {{Critical Effect= The target needs to make a DC [[13]] Con save or the creature’s speed is halved until the end of its next turn. In addition, if the creature is able to make multiple attacks using a Multiattack action or Extra Attack feature, it makes one fewer attack while its speed is reduced in this way.}} To restate: what I did was wrap modifiers in an extra layer of inline rolls. So [[1d8+int bonus+2]] became [[1d8+[[int bonus +2]]]] This put all the dice rolls on the same "level" in processing. 
1754405545

Edited 1754405881
Gauss said: Ok, I wasn't happy with that so I did some more investigating. On the idea that perhaps it was a double inlines vs single inline rolls issue, I tried something. I wrapped your roll modifiers in extra inline rolls. Now with all the rolls at the same "level" it worked, without having to use the attribute method I mentioned above.  Don't ask me why, I am not a programmer. But, here you go:  &{template:default} {{name=Fractured Coronal Booming Blade}} {{Attack= [[?{Advantage?|Normal Roll,1d20| Advantage,3d20kh1| Disadvantage,2d20kl1} + [[@{Galinndan|intelligence_bonus}+@{Galinndan|pb}]]]]}} {{Damage= [[1d8+[[@{Galinndan|intelligence_bonus}+2]]]] radiant damage & [[[[(ceil((@{Galinndan|level} + 2)/6)-1)]]d8]] thunder damage}} {{If critical [[20+@{Galinndan|intelligence_bonus}+@{Galinndan|pb}]]= [[2d8+[[@{Galinndan|intelligence_bonus}+2]]]] radiant damage & [[[[(ceil((@{Galinndan|level} + 2)/6)-1)*2]]d8]] thunder damage}} {{Booming Energy= On a hit, if the target willingly moves 5 feet or more before the start of your next turn, the target takes [[(round((@{Galinndan|level} + 1) / 6 + 0.5))]]d8 thunder damage, and the spell ends.}} {{Sap Weapon Mastery= If you hit a creature with this weapon, that creature has Disadvantage on its next attack roll before the start of your next turn.}} {{Critical Effect= The target needs to make a DC [[13]] Con save or the creature’s speed is halved until the end of its next turn. In addition, if the creature is able to make multiple attacks using a Multiattack action or Extra Attack feature, it makes one fewer attack while its speed is reduced in this way.}} To restate: what I did was wrap modifiers in an extra layer of inline rolls. So [[1d8+int bonus+2]] became [[1d8+[[int bonus +2]]]] This put all the dice rolls on the same "level" in processing.  This worked like a charm. Thank you for the help, definitely wouldn't have figured out that adding another layer of inline rolls would've solved that.