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

One roll query for a consistant variable

I was wondering if there was a way for 1 prompt for multiple variables everything marked with a K I would like to remain the same through the entire dice roll after one roll query: &{template:default} {{name=Ability:Charge+K}} {{job=Aim}}{{range=4}} {{effect=1}} {{Damage=?{What weapon are you attacking with?|Bow Knife Ninja Knife, [[((@{PA}+K) + (@{SP}+K) )/2*@{WP}]]|Crossbow Rod Spear or Sword, [[(@{PA}+K)*@{WP}]]|Axe Bag or Flail, [[@{WP}*(1d@{PA}+K)]]|Cloth Book or Instrument, [[floor(((@{PA}+K) +(@{MA}+1))/2)*@{WP}]]|Katana or Knight Sword, [[floor(((@{PA}+K) *@{Brave}/100)*@{WP} )]]|} Damage}} {{Success=?{Where are you attacking your target from?| Front, [[1d100<@{target|Target|PC-EV|}]]| Flank, [[1d100<@{target|Target|PS-EV|}]]| Behind, [[1d100<@{target|Target|PA-EV|}]]} success.}}{{Description=*Carefully aim to strike for increased damage. Attack power increases with longer charge time.*}} I would prefer not to find and replace K with ?{Charge Level?|1,1|2,2|3,3|4,4|5,5|7,7|10,10|20,20}) if I can help it, but from what I've seen and researched there may be no other option. If I'm not specific or if you have a question let me know.
1488734164
Tetsuo
Forum Champion
The only way to do that is to replace the first K with ?{Charge Level?|1,1|2,2|3,3|4,4|5,5|7,7|10,10|20,20} then whenever you need to recall the variable, simply put ?{Charge Level?}. You only need to define the options once. After that, any variable with the same label will be filled with the same options and prompted only once.
Thank you, that achieved the desired effect. You've open the door for many more macros that I've ran into the same problem.