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

Summing strings of rolls?

Hey guys, newer to the whole macro thing here (so hopefully this is a simple script that i'm missing), but i'm trying to throw something together like the below:  /e uses ability! d4 damage [[ ?{d4?|Yes, 1d4|No, 0} ]] d6 damage [[ ?{d6?|Yes, 1d6|No, 0} ]]  d8 damage [[ ?{d8?|Yes, 1d8|No, 0} ]] d10 damage [[ ?{d10?|Yes, 1d10|No, 0} ]]  d12 damage [[ ?{d12?|Yes, 1d12|No, 0} ]]  d20 damage [[ ?{d20?|Yes, 1d20|No, 0} ]] What i'm missing, however, is a sum of those 6 individual rolls total then halved.  ie: something like:  [[(a+b+c+d+e+f)/2]] Hopefully this is a simpler task but i'm stumped!   Any help is appreciated! 
1584928811
GiGs
Pro
Sheet Author
API Scripter
In roll20, you cant use rolls in two different ways. So if you want to show the individual rolls, you cant sum them up. If you want to sum them up, you cant show the individual rolls.
1584939141
The Aaron
Roll20 Production Team
API Scripter
The closest you could get is using the non-inline roll syntax with roll tags: /r ?{d4|Yes, 1d4 [d4 damage]|No,0}+ ?{d6|Yes, 1d6 [d6 damage]|No,0}+ ?{d8|Yes, 1d8 [d8 damage]|No,0}+ ?{d10|Yes, 1d10 [d10 damage]|No,0}+ ?{d12|Yes, 1d12 [d12 damage]|No,0}+ ?{d20|Yes, 1d20 [d20 damage]|No,0}
Darn!  Thanks for the response gents.