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

Multiple attacks with success and damage

I have 8 identical archers and when they fire I would like to determine number of successes versus their target and then roll the right number of damage dice. My understanding is that you can't reference the previous roll, so I will have to query the number of damage rolls to make. determining successes: /roll {8d20+4}>@{target|AC} How do I modify this so that the +4 is added to each die individually? determine damage: /roll ?{NumSuccess}d8+?{NumSuccess}*2 Is it correct there is no way to define NumSuccesses by the first roll? Thanks for your help!
1554049980
GiGs
Pro
Sheet Author
API Scripter
/roll {8d20+4}>@{target|AC} How do I modify this so that the +4 is added to each die individually? You have the syntax correct there. I just tested it and it worked for me. The chat window will show the unmodified dice, but when you compare them against the target it will report the correct successes. I just rolled with 4 dice, /roll {4d20+4}>17 and it returned rolls of 17, 15, 2, 5 - and declared 2 successes. The 17 and 15 succeeded against a target number of 17, thanks to the +4 modifier. determine damage: /roll ?{NumSuccess}d8+?{NumSuccess}*2 Is it correct there is no way to define NumSuccesses by the first roll? You are correct there is no way to automatically reuse the result from the first roll. A pro subscriber can use the API to do this, but free users can't. The roll function you have above is the best way to do it.
1554120093

Edited 1554121103
I did something like this, when I had lots of similar monsters attack my PC's.... I didn't want to keep rolling over and over again. I had two macros. One to HIT, and then another to show DAMAGE. In the example below: The archers are each firing a crossbow with a +3 modifier against an AC of 14. Each hit causes 1d8+1 damage. The hit macro resulted in something that looked like this.... The DAMAGE macro result looked like this: I deliberately made it to work in a 'free' game, so it doesn't use any API's.... HIT Macro /emas The ?{What enemy?|enemies} attack @{target|token_name} (AC @{target|ac}) a total of ?{How many attacks} times, with [[?{How many attacks}d20>[[@{target|ac}-?{modifier}]] ]] resulting in a successful hit! You just need to run the macro, pick the 'target token' and then answer the few prompts it asks you.... What enemy?  Give your group of enemies a name, or leave is as the default word 'enemies' How many attacks?  How many are attacking? Modifier?  What's their roll modifier? e.g. '3' DAMAGE Macro /emas As a result of the successful hits, you receive a total of [[(?{Number of hits}D?{Damage Dice})+([[?{Number of hits}*?{Damage Mod}]])]] HP's of damage! Number of hits? How many hit during that last macro/roll? e.g. 6 Damage dice? What type of damage dice? e.g. a D8 would just be '8' Damage mod? What damage modifier does each attack include? e.g. +1 would be '1'. The result will spit out the total damage against the targeted PC. --- Let me know how you get on!