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

Need help making dropdown macro

Hello, I'm part of a homebrew campaign. My weapon has different features depending on how much HP I sacrifice. Basically, I want to choose from a dropdown how much HP I want to sacrifice. 4,6,8,10,12 are the options. Basically, if my character sacrifices X HP, they roll 2dX damage. Which is cool, but making a macro for this is a nightmare. I tried to do a dropdown, but I didn't like it, so I made a Macro for Sac-4: &{template:default} {{name=Sac4}}{{attack=[[1d20+1+ @{dexterity_mod}]] }}{{damage= [[2d4 +1+ @{dexterity_mod} ]] }}{{sneak_attack= + [[3d6]] to damage}}{{note= She heals for the 2d4 and gains a charge back if the target dies}} This works, and I plan on making a Sac-4, Sac-6, Sac-8, etc. The problem is, I'm not sure how to reference it in the macro... like, I want there to be a Macro for the weapon, eg "Weapon" that lets me choose from a dropdown what amount I'm sacrificing and then runs that respected Macro. Anyone have tips? Basically the format is like this: - Asks user in a dropdown how much they want to sacrifice. (say user chooses 4) - Responds with "Sac-4" macro
1639282288

Edited 1639282590
&{template:default} {{name=Sac HP}}{{attack=[[1d20+1+ @{dexterity_mod}]] }}{{damage= [[?{Sac|4,2d4|6,2d6|8,2d8|10,2d10|12,2d12} +1+ @{dexterity_mod} ]] }}{{sneak_attack= + [[3d6]] to damage}}{{note= She heals for the ?{Sac} and gains a charge back if the target dies}}
Cannot believe it was that easy... thank you so much!
no problem. have fun!