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

Paladin Select from Multiple Smites Macro

Rookie with Macros OGL/Standard 5e Character Sheet Pro Subscription 10th level paladin wielding two hand great sword with Great weapon Fighting style With some help from Mr. Google and Forums, I came up with following "Macro" to allow me to select my sword from inventory, pop up a question box asking "which smite" do I want to use and which level, plus the undead/fiend question. It's does the math, and I'm confident the math works - however, when you hover over the results it doesn't show the Smite Die roll. The values are averaging out so that I think it's doing the math right, but doesn't really show it.  *Note: If I can get this part figured out effectively, I have additional questions of "how to make stuff" happen that I'll follow up with in the comments later. Macro:  [[0 + ?{Spell level|Blinding Smite,3d8|Branding Smite L2,2d6|Branding Smite L3,3d6|Branding Smite L4,4d6|Branding Smite L5,5d6|Searing Smite L1, 1d6|Searing Smite L2, 2d6|Searing Smite L3, 3d6|Searing Smite L4, 4d6|Searing Smite L5, 5d6|Thunderous Smite,2d6|Wrathful Smite,1d6}]] + [[?{Fiend/Undead|No,0|Yes,1}]]d8 + 2d6ro<2 Results: Suggestions on how/what to edit with the macro?
1568236422

Edited 1568236443
GiGs
Pro
Sheet Author
API Scripter
It's not showing the smite roll because its an inline roll nested inside another inline roll. Since that's in a roll template, i dont think you needthe [[ ]] around smite. Also you dont really need that 0+ at the start. Try this: ?{Spell level|Blinding Smite,3d8|Branding Smite L2,2d6|Branding Smite L3,3d6|Branding Smite L4,4d6|Branding Smite L5,5d6| Searing Smite L1, 1d6|Searing Smite L2, 2d6|Searing Smite L3, 3d6|Searing Smite L4, 4d6|Searing Smite L5, 5d6| Thunderous Smite,2d6|Wrathful Smite,1d6} + [[?{Fiend/Undead|No,0|Yes,1}]]d8 + 2d6ro<2
Gigs - YEP! That was the trick! Thank you for that! Ok - now on to the next stumbling block: I'd like for it to display the different damage type breakdowns: Example - If I execute this, and pick Searing Smite L3, I'd love for the result to show in the message/chat: [Damage of Searing] Fire Damage + [Damage to Undead] Radiant Damage + [Damage of Sword] Slashing Damage And, while I don't think it's possible based on what I've seen elsewhere, the sum total of the three damages as well. Can this be achieved?
1568247924
GiGs
Pro
Sheet Author
API Scripter
For showing the damage type, you can enter a label with single square brackets around it, like this: [Radiant Damage] and it will be ignored by the roll, but appear in the printout: ?{Spell level|No Smite,0|Blinding Smite,3d8|Branding Smite L2,2d6|Branding Smite L3,3d6|Branding Smite L4,4d6|Branding Smite L5,5d6| Searing Smite L1, 1d6|Searing Smite L2, 2d6|Searing Smite L3, 3d6|Searing Smite L4, 4d6|Searing Smite L5, 5d6| Thunderous Smite,2d6|Wrathful Smite,1d6}[Fire Damage] + [[?{Fiend/Undead|No,0|Yes,1}]]d8[Radiant Damage] + 2d6ro<2[Slashing Damage] For this I added a No Smite, 0 damage option at the top of spell level in case you cast no smite spell. Not sure if that's needed, but just noticed it as a potential oversight. When you say the sum total of 3 damages, these should be being added up. Are they not?