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 .
×

Healing Macro Adjustment Help

1601182726

Edited 1601182765
Hello there! I've found that the macros from  here  are insanely useful for me while I'm playing my Life Domain Cleric, but I found a weak spot in it that I lack the knowledge to fix. Here's the macros in case you just don't want to click the link: Healing Roll + Disciple of Life: [[?{Cast at what level?|Level 1,1|Level 2,2|Level 3,3|Level 4,4|Level 5,5|Level 6,6|Level 7,7|Level 8,8|Level 9,9}]]d# + [[?{Cast at what level?}]][spell level] + 2[flat] Self-Healing via Blessed Healer: {[[{6, @{level}}dh1 -6 +1]], 0}dl1 * ([[?{Cast at what level?}]][spell level] + 2[flat]) When it comes to a spell such as Mass Cure Wounds, the healing roll (Disciple of Life) macro "breaks" in that it gives an undesired result. The way the macro works, it grants 3d8 + 3d8 healing per additional spell level over the 5th. This is less than ideal (or rather OP as heck and I'm trying to play fair) since the formula for Mass Cure Wounds is 3d8 + 1d8 healing per additional spell level over the 5th. The scaling just doesn't work right as the macro is now. This brings a second question - how would this change for spells such as Heal that don't need rolls? It gives 70 healing + 10 per additional spell level over the 6th. How would the spell level scaling work for that in a macro? If anyone is able to adjust these macros or otherwise help me figure it out, I'd greatly appreciate it! Thank you for reading and for any time you choose to invest in this. :)
1601187239

Edited 1601187789
Oosh
Sheet Author
API Scripter
The macro was set up for healing word, which follows the xd4 at level x formula. Mass Cure Wounds is (x-2)d8 when cast at level x. So you want either: [[?{Cast at what level?|Level 5,3|Level 6,4|Level 7,5|Level 8,6|Level 9,7}]]d8 if you want the fancier looking drop-down, or: [[?{Cast at what level?|5|6|7|8|9}-2]]d8 if you prefer less  fluff, or even: [[?{Cast at what level?|5}-2]]d8 if you like saving your keyboard. Obviously you need to whack the Disciple of Life calculation back on the end. There's no "one size fits all" macro for spells, as the higher level progression isn't always the same. Heal you can do either way as well. When using a comma you provide a drop-down display option, then the actual value used if that option is chosen: [[?{Cast at what level?|Level 6,70|Level 7,80|Level 8,90|Level 9,100}]] If you don't put in a comma, the drop-down option is itself the value, so: [[[[?{Cast at what level?|6|7|8|9}+1]]0]] this limits the drop-down to plain numbers, since they need to be used in a calculation. Then this: [[[[?{Cast at what level?|6}+1]]0]] does the same thing, but since only one option is provided after the pipe | it doesn't have a drop-down - just a prompt. Drop-downs are handy for limiting the input and preventing errors, but you need to provide all possible options in the Query. In all cases, the first option provided after the Query statement is the default value. If none at all is provided, you'll get a blank input box.
That's pretty nifty, thank you for the thorough explanation of the syntax and how I can make use of it!  In case you or anyone else has interest in the solution(s), I'm just gonna dump my findings here. Heck the keyboard, I have copy-paste. It's just going in the healing field on my char sheet anyway. I'm doing this in a pretty "set it and forget it" kind of way because I want to roleplay more and math less. There was an issue with the interaction between the first Mass Cure Wounds option and how it interacted with Disciple of Life and/or Blessed Healer: [[?{Cast at what level?|Level 5,3|Level 6,4|Level 7,5|Level 8,6|Level 9,7}]]d8 The issue was that Disciple of Life and/or Blessed Healer need Spell Level + 2 health, and the above macro takes the fifth-level cast as "I am a level 3 spell" due to the arguments provided for the calculations. That was problematic. I believe the optimal solution to follow proper logic is as follows, using one of your other suggestions: Mass Cure Wounds + Disciple of Life: [[?{Cast at what level?|Level 5,5|Level 6,6|Level 7,7|Level 8,8|Level 9,9}-2]]d8 + [[?{Cast at what level?}]][spell level] + 2[flat] Using the knowledge I gained from what you said and about how it doesn't like you messing with the spell level argument... Heal + Disciple of Life: [[[[?{Cast at what level?|Level 6,6|Level 7,7|Level 8,8|Level 9,9}+1]]0]] + [[?{Cast at what level?}]][spell level] + 2[flat]