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

1 query for multiple rolls

what i would like is a button that asks for a +- modifier then applies that modifier to all rolls individually example i say the mod is +2 the output would be ten rolls of 1d20+2 &{template:default} {{name=mass resist)}} {{Attack 1= [[1d20]]}} {{Attack 2= [[1d20]]}} {{Attack 3= [[1d20]]}} {{Attack 4= [[1d20]]}} {{Attack 5= [[1d20]]}} {{Attack 6= [[1d20]]}} {{Attack 7= [[1d20]]}} {{Attack 8= [[1d20]]}} {{Attack 9= [[1d20]]}} {{Attack 10= [[1d20]]}}
the reason i need this is for mutants and master minds. im going to be using minion summoner and thus multiple attacks all with the same modifier per turn a guarantee. and each hit need a damage resist. thus the need for a one button mass roll
1734210848
Gauss
Forum Champion
Here you go: &{template:default} {{name=mass resist)}} {{Attack 1= [[1d20+?{Modifier?}]]}} {{Attack 2= [[1d20 +?{ Modifier? } ]]}} {{Attack 3= [[1d20 +?{ Modifier? } ]]}} {{Attack 4= [[1d20 +?{ Modifier? } ]]}} {{Attack 5= [[1d20 +?{ Modifier? } ]]}} {{Attack 6= [[1d20 +?{ Modifier? } ]]}} {{Attack 7= [[1d20 +?{ Modifier? } ]]}} {{Attack 8= [[1d20 +?{ Modifier? } ]]}} {{Attack 9= [[1d20 +?{ Modifier? } ]]}} {{Attack 10= [[1d20 +?{ Modifier? } ]]}}
this kicks butt its EXACTLY what i needed thanks
To elaborate, queries with the same name output the answer to the first one parsed in all instances of that query in that parsing - even if some of those queries with the same name had different content in them.
Tuo said: To elaborate, queries with the same name output the answer to the first one parsed in all instances of that query in that parsing - even if some of those queries with the same name had different content in them. really? is that how it works? i mean it makes sense they way YOU explained it, i just wish they explained it better in the macro tutorials "hey nerd, when you name a query, that also creates a variable with the same name, and every query with the same name uses the same variable"