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

Roll multiple dice with the same bonus

1612732741

Edited 1612732811
I'm looking for a way to roll multiple dice with a bonus added to the individual die rolls not add as a group.  Rolling 4 d20 with a bonus +5 would give 1d20+5 1d20+5 1d20+5 1d20+5 Something like: /roll 4 (d20+5) With 4 rolls: 11, 18, 5, 3 Would display: 16, 23, 10, 8 Eventually I'd like an attack button for a any multiple npc that I could say how many are in the mob and what their bonus is: /roll ?(Bonus1) (d20 + (?Bonus2)
1612735851
GiGs
Pro
Sheet Author
API Scripter
Unfortunately you cant easily do this. You could list each roll as an inline roll. This will prompt you for a bonus and make 4 rolls with that bonus. ?{Bonus?|5} [[1d20+?{Bonus}]] [[1d20+?{Bonus}]] [[1d20+?{Bonus}]] [[1d20+?{Bonus}]] If you want to enter the number of rolls and the bonus, its trickier, You have to use a query to build every possibility, like ?{Bonus?|5} ?{Number of Rolls| 1,[[1d20+?{Bonus}]]| 2,[[1d20+?{Bonus}]] [[1d20+?{Bonus}]]| 3,[[1d20+?{Bonus}]] [[1d20+?{Bonus}]] [[1d20+?{Bonus}]]| 4,[[1d20+?{Bonus}]] [[1d20+?{Bonus}]] [[1d20+?{Bonus}]] [[1d20+?{Bonus}]] } Extend as far as you need to, adding extra lines and rolls. 
Too bad, this by far the most common roll I mad as dm last night  some number of dice rolled for the same type of critter so 4d20+3, 2d20+4. I'm surprised this is even included yet :(
1612737415
GiGs
Pro
Sheet Author
API Scripter
It is possible to do group rolls like /roll {4d20+5}  this will roll 4d20, and add 5 to each of them, but unfortunately it will then sum them all up and not show the individual totals. If you are making a set of rolls against the same target, like an AC, you can use this method: /roll {4d20+5}>@{target|AC} or /roll {4d20+5}>13 or /roll {4d20+5}>?{Target|10} These will each roll 1d20+5 four times, and tell you how many of them equal or exceed the listed target.
That's interesting.  A little set up for each encounter.  I liked being able to use ?{Bonus} syntax for flexibility.  I would only have to make one macro ever where this way I still have to macro each group, but at least it works. Thanks for quick responses
1612746630
GiGs
Pro
Sheet Author
API Scripter
You can replace the +5 in each of those with +?{Bonus|0}, likewise the 4d20 can be ?{Number of Dice?|1}d20 letting you change the number of dice each time.