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

Healing Surge Macro Assistance

1717096842

Edited 1717097365
Hey folks! Been scratching my head on this one. Without using any APIs, is there a macro specifically for the use of Healing Surge out there? I'd like to find something to avoid spamming the Hit Dice button with a query that asks how many dice to roll. I've tinkered with the basics: ?{Number of Dice}d10 But I am not sure how to query for the Constitution modifier to be multiplied by the amount of dice chosen.  So an example would be rolling 3 hit dice + CON mod x 3. I am but a humble user without much experience making macros, though I am learning. Thank you for any assistance!
1717103413

Edited 1717104294
Select a token and you can use this: [[(?{Number of Dice|0}d@{selected|hitdieroll})+[[(?{Number of Dice})*@{selected|constitution_mod}]]]] Assuming you're playing D&D 5th Edition and if you're using the 'D&D 5E by Roll20' character sheet, then you can put it in a fancy template: &{template:npcaction} {{rname=@{selected|token_name}}} {{name=Healing Surge}} {{description=[[(?{Number of Dice|0}d@{selected|hitdieroll})+[[(?{Number of Dice})*@{selected|constitution_mod}]]]]}} or &{template:simple} {{rname=Healing Surge}} {{charname=@{selected|token_name}}} {{mod=d@{selected|hitdieroll}+@{selected|constitution_mod}}} {{normal=1}} {{r1=[[(?{Number of Dice|0}d@{selected|hitdieroll})+[[(?{Number of Dice})*@{selected|constitution_mod}]]]]}} If you put one of those template rolls into an Ability called 'HealingSurge' on your character sheet, then you can add a button to the Healing Surge trait: [ Roll Healing Surge ](~selected|HealingSurge" style="width: 100%; text-align: center; text-decoration: none; font-weight: bold; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: pointer; outline: 1px solid crimson; color: crimson;)
Thanks I'll give this a shot!