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

Multi Attack with Penalty

Hello all, I've been playing the new Amazing Adventures 2e lately. Unfortunately, it doesn't have a character sheet on Roll 20, so we've just been using the one for Castles and Crusades as the systems are similar. While the C&C sheet works, there are a few snags that have tempted me to upgrade to Pro and try writing my own sheet. One of the biggest differences between the systems is that AA has guns with multi-attacks, accuracy, and recoil, for example, a Beretta 950 has a RoF of 3, accuracy of 1, and recoil of 1, so a player can take 3 shots a turn, the first with +1, the second with no benefit, and the third at -1. While I have some programming experience, it's been years, and I haven't done anything more complicated than macros with Roll20, so I was curious if it would be possible to automate multi-attack penalties in this fashion.
1744164550
GiGs
Pro
Sheet Author
API Scripter
That sounds very doable. Also, for your last statement, if you can do it in a macro, you can do it in a character sheet.
So you have a modifier that's accuracy-recoil*(shot count-1), do I understand this right? Well, there you have  the formula for the roll already - you just need to call in those stats as attributes from the weapon and you're good. Depending on how you want multiattacks to be displayed and if they always use the maximum number of shots, there's a few ways to resolve the shot counts, but that shouldn't be too much of an issue either.