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

Macro for sorting out fails in a mass-roll

1510210627

Edited 1510210674
Hey guys I hope, this question isn't already discussed and solved in this forum. Following problem: In the system I play, it's "Dungeonslayer", I have the possibility to summon several undeads, to be more specific: up to 50. Every undead is a NPC by itself, so when they attack, I have to roll for every single one. I know, how to implement a macro to roll for all simultaniously and to Show me how much of them are successes, but the outcome of every roll is also important for damage.  For example: my Skeleton has an attack of 14. I have to roll a d20 for 14 or less, the result is the damage at the same time.  So, my question now is: Is there a way to sort all of the failed rolls out and to display only the successes? Maybe even with a variable amount of attacks, for various quantity of undeads plus potential modifications ? I hope this is possible, it would save a huge amount of time for us. Thanks in advance 
1510231076

Edited 1510231130
The Aaron
Pro
API Scripter
I really can't come up with a good way of doing that without the API.  If you only care about the damage, you could create a rollable table with the values 1-14 and a 0 weight 6, then roll on that [[ 50t[14AndBelow] ]] to get a sum total of damage for all the hits, but you'd have to count the number of hits by looking at the rolls for 0s.  You could change them to __ or something and it's easier to spot the misses:
Looks pretty good, I'm definitely going to try it out. Thanks a lot.