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

Macro for multiple attacks and damge

Hi, I want to make a macro that uses the successful rolls from a previous roll. Example: I use the line /gmroll {10d100}<42  to get the number of successes form 10 attacks. Say that I get 4 rolls that are within the target number I then want the macro to use the success to calculate the damage by rolling a d10 with a target number of 5. Is this possible to do? Kind regards Macro-Noob.
You can use inline roll syntax to accomplish that /gmroll {[[{10d100}<42]]d10}<5 This will roll a d10 for every attack success and count the rolls equal or lower than 5