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

Simulating Advantage in Roll20 on multiple units

September 03 (9 years ago)

Edited September 03 (9 years ago)
Greetings, wizened adepts of Roll20

5e D&D introduced Advantage/Disadvantage when making certain rolls, essentially rolling two d20s and keeping the best/worst depending on whether you had advantage/diadvantage.

I am wondering how to effectively simulate Advantage/Disadvantage in roll20 where multiple attacks have advantage, without utterly spamming everyone with rolls.

Normally, I'd simply use 2d20d1 or so if a mob just has a few attacks with advantage.

But say, in a more extreme scenario, that a giant got hit by Faerie Fire, essentially giving all attacks against it Advantage, and 40 Guards armed with crossbows choose to focus fire it.
Now, it's not exactly an everyday scenario, but should it happen, how could I effectively roll for such a massive attack without literally rolling 80 times manually?

Normally, I'd use the Dice Roller(excellent feature BTW!) for lots of opponents attacking a single target/similar opponents, but as far as I'm aware, the Dice Roller can't simulate Advantage/Disadvantage.




September 03 (9 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I probably wouldn't roll for all 40 even on a normal roll. The dmg has to have a section on mass rolls. I'm not home so o can't check, but I'd follow that.
September 03 (9 years ago)

Edited September 03 (9 years ago)
Gold
Forum Champion
You can use inline rolls to reduce the clutter in chat. Use 1d20 twice for Advantage (take the higher of the 2 numbers as the Advantage, ignore the lower of the 2 numbers each time if they have advantage).

Another alternative is GM rolls which are whispered, only seen by the rolling player and the GM.

GM Roll wiki,
https://wiki.roll20.net/Dice_Reference#Rolling_in_...

Save the code as a Global Macro and enable Macro Quick Bar, under the settings gear icon top right.

Wiki docs,
https://wiki.roll20.net/Macros#Macro_Bar

Example macro for your situation:

/me Rolling 10 Attacks with Advantage!
[[d20]] / [[d20]], 
[[d20]] / [[d20]], 
[[d20]] / [[d20]], 
[[d20]] / [[d20]], 
[[d20]] / [[d20]], 
[[d20]] / [[d20]], 
[[d20]] / [[d20]], 
[[d20]] / [[d20]], 
[[d20]] / [[d20]], 
[[d20]] / [[d20]]

Alternately since you're playing D&D 5E, you could use the Roll20 5E OGL character sheet, and the Roll20 5E compendium. With this I think you can get rolls and macros that are specifically made, and it will have Advantage rolls included; you would be clicking each attack roll.

Character Sheet instructions,
https://wiki.roll20.net/5th_Edition_OGL_by_Roll20

5e Compendium,
https://roll20.net/compendium/dnd5e/BookIndex


September 04 (9 years ago)

Edited September 04 (9 years ago)
I wrote a macro I use if attacking with mob of creatures to help speed up time (it might not be actually what you want):

/em Mob attacks
/r (?{attackers|1}*2)d20KH?{attackers|1}>?{ac modified|10}

It will not figure out success on individual advantage roll bases, but will generate number success based on all rolls.  I thought this was okay because in mob rules if you have enough attackers you just automatically hit.

attackers is number of creatures attacking and the ac modified is what is need on d20 to make hit (I calculate this before using the macro)
September 04 (9 years ago)

Edited September 04 (9 years ago)
According to something I read an advantage roll is essentially equal to +5 bonus. I wrote a mob attack macro that figures that in 

[[{?{Number of Attackers}d20 + ?{Advantage/Disadvantage|Normal,0|Advantage,5|Disadvantage,-5} + ?{To hit modifiers +|8}}>[[@{target|bar2}d1]] ]] hits [[@{target|bar2}d1]]

(Note: Token bar 2 is used for AC in my game)

I use it for my wizards Animate objects, which is a totally OP spell btw (needs nerfed).

I made a second macro for the damage 
[[ (?{Number of hits|1}?{Damage die|1d4,)d4|1d6,)d6|1d8,)d8|1d10,)d10|1d12,)d12|2d4,*2)d4|2d6,*2)d6|2d8,*2)d8|2d10,*2)d10|2d12,*2)d12|3d4,*3)d4|3d6,*3)d6|3d8,*3)d8|3d10,*3)d10|3d12,*3)d12} + (?{Damage bonus|4}*?{Number of hits}) ]] ?{damage type|bludgeoning|slashing|piercing|fire|acid|cold|lightning|thunder|force|radiant|necrotic}

and the crits [[ (?{Crits|1}?{Damage die} ]] additional ?{damage type}

Stick those in the template of your choice. 
September 06 (9 years ago)
The Aaron
Pro
API Scripter

Ed S. said:

According to something I read an advantage roll is essentially equal to +5 bonus.
It's not really that simple... http://anydice.com/program/9486
It's like a +5 when you roll a 10, but more like a +2 when you roll a 19...  I usually refer to it as a +3.5 (Mean value of 13.82)


September 06 (9 years ago)

The Aaron said:

Ed S. said:

According to something I read an advantage roll is essentially equal to +5 bonus.
It's not really that simple... http://anydice.com/program/9486
It's like a +5 when you roll a 10, but more like a +2 when you roll a 19...  I usually refer to it as a +3.5 (Mean value of 13.82)




Interesting, maybe I should adjust my formula to be +4 instead. Close enough though and I don't need to make 10 separate die rolls.
September 06 (9 years ago)

Edited September 06 (9 years ago)
The Aaron
Pro
API Scripter

Ed S. said:

Interesting, maybe I should adjust my formula to be +4 instead. Close enough though and I don't need to make 10 separate die rolls. 

You could setup a Rollable Table with the correct statistical distribution and use that to perfectly mimic the chances.  [[1t[d20A]]] and [[1t[d20D]]].

For that matter, Mighty Lolzar could do that for his minions.  You could even have a [[1t[d20]]] and put them all in a roll query to determine if they all have advantage, disadvantage, or a flat roll.

/roll ?{Number of Mooks|1}t[?{Style|Normal,d20|Advantage,d20A|Disadvantage,d20D}]
September 07 (9 years ago)
The tables can't do decimals for the weight so I had to multiply the percentages from http://anydice.com/program/9486 by 100. That should work really great.