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

Rolling mutliple dice multiple times in one macro

In one game I play a shepherd druid and i'm looking for a way to speed up my combat turns. My plan is that I summon 8 creatures which each attack separately or together. I use this macro for the To hit rolls of my summons -> No. of hits [[?{No of attackers}d20>[[@{target|ac}-@{Strength_mod}-@{PB}-1]]]]  I am looking for a way to roll these attacks with advantage and disadvantage Might anyone know? (I use the dnd 5e shaped sheet template.)
1593203388

Edited 1593203918
Hey, I am new and don't know if this will help you. the following is part of a macro I use for the Animate Objects spell, which I found some time ago on this form if i remember correctly. When you roll with adv or diadv it will show you only one result but if you mouse-over the number it will show you the two dice throws. &{template:5eDefault} {{outputall=1}} {{title=Conjure animal attacks}}{{Attack #[1](#)=[[ ?{Roll|Normal, 1d20|Advantage, 2d20kh1|Disadvantage, 2d20kl1}]] }} {{Attack #[[[{?{Number of attacks|1|2|3|4|5|6|7|8|9|10}, 2}kl1]]](#)=[[ ?{Roll}]] }} {{Attack #[[[{?{Number of attacks}, 3}kl1]]](#)=[[?{Roll}]] }} {{Attack #[[[{?{Number of attacks}, 4}kl1]]](#)=[[?{Roll}]] }} {{Attack #[[[{?{Number of attacks}, 5}kl1]]](#)=[[?{Roll}]] }} {{Attack #[[[{?{Number of attacks}, 6}kl1]]](#)=[[?{Roll}]] }} {{Attack #[[[{?{Number of attacks}, 7}kl1]]](#)=[[?{Roll}]] }} {{Attack #[[[{?{Number of attacks}, 8}kl1]]](#)=[[?{Roll}]] }} {{Attack #[[[{?{Number of attacks}, 9}kl1]]](#)=[[?{Roll}]] }} {{Attack #[[[{?{Number of attacks}, 10}kl1]]](#)=[[?{Roll}]]}} Hope will help, if is just off topic i'll delete the post :)
1593207298
GiGs
Pro
Sheet Author
API Scripter
That's a pretty clever way to handle this, Fat B.
Here is the original post and macro by Silvyre. I chopped the bit I needed. :)
You may have chopped a bit too much.  When I copy and paste this as a macro it doesn't do anything after asking about adv/disadv and the number of attacks.  I'd love to use this, though, I'd like to make my DM's life easier when I conjure animals or things.
1593210465
GiGs
Pro
Sheet Author
API Scripter
You need to be using the right rolltemplate. Change this bit at the start  &{template:5eDefault} to &{template:default} and see if it works. If so, you can switch it to a template your sheet supports.
GiGs, Yes, that did it.  As far as other supported templates, mere mortals such as myself are not given to know such things (one of the complaints I have with the new and improved Help Center is that you have to know exactly what you are looking for in order to find it). Bill 
1593227389
Kraynic
Pro
Sheet Author
Other than default (which is built into roll20), the rest are character sheet specific (part of the sheet code), so what else is available is based on the character sheet used in each game.
1593227727
GiGs
Pro
Sheet Author
API Scripter
Bill (Do Not Kill) said: GiGs, Yes, that did it.  As far as other supported templates, mere mortals such as myself are not given to know such things (one of the complaints I have with the new and improved Help Center is that you have to know exactly what you are looking for in order to find it). Bill  The wiki is still there - you can use that instead. If you know the sheet you're using, someone will be able to tell you what rolltemplates are valid for it.
Thanks to everyone for commenting their answers and thoughts, it was very nice and helpful :)