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 Targets - Multiple Attack Rolls

I just recently created an account with Roll20 and have been experimenting creating a D&D 4E character. So far, the system seems pretty robust, and I've been able to effectively program each of a character's powers. But I've noticed a minor issue regarding area-effect attacks. In 4th Edition, the character rolls on attack roll for each target, but the number of targets for these powers isn't consistent. Something that would be convenient for this sort of case would be a for-each loop or at least a for loop. If there is such a thing currently available (specifically for free users), I would appreciate if someone pointed something like this out for me. A possible method of implementing this feature would likely allow an array of tokens, either through "select" or "target", which then creates an array. The elements of the array are then either individually referenced by for-each or through a count in a for loop. Another option would just ask for the number of targets from the player and then generate that many rolls. At this moment, how I'm dealing with this issue is to just roll the maximum number of tests potentially necessary. But this turns out that best case this is 9 rolls and can get up to either 25 or even 49 or more. This can end up crowding the chat box with over twice as many checks as is likely necessary. Another currently available method is just separate macros for attack and then damage. But the convenience of a single command is something to be desired.
1412741550
Gen Kitty
Forum Champion
You can do this! Sort of! <a href="https://app.roll20.net/forum/post/1204738/undocume" rel="nofollow">https://app.roll20.net/forum/post/1204738/undocume</a>... I use this approach in the Pathfinder game I am in.
A grid? That seems interesting. I might try something like that.