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

[AD&D 2nd Ed] Issue with making a repeating_weapons call?

I'm using a macro (Ability Command Buttons) to call up my attack options, the end result macros are templates I've modified from the R20 2nd Ed Character sheet templates (2E:Attack). I have 4 weapons that I can choose from with the ACB, all but the last one works . I get an error saying "You tried to use the repeating section row at index 3 for repeating_weapons-damage, but there doesn't seem to be a row at that index." I tried to see if maybe $4 or $5 would work but no (did not add weapons on my character sheet). Even if I add additional weapons on to my character sheet, and modify the code same error just for that line now $4. That's all the troubleshooting my brain can muster at the moment. 
In case you didn't know repeating sections start at index 0, meaning if you have 3 weapons their ids will be $0, $1, $2. If you try to access $3 then you will get an error. Increasing the list to include 4 weapons, then your index will be $0, $1, $2, $3, and again 4 will give you an error. I hope this helps
Yes, am aware. I have 4 weapons.. $0-$2 work, $3 doesn't and it should. I tried find it ($4,$5,etc,) all the way to $10 and same error. Tried to add additional weapons (4 to 5) and same error. Had a friend who's more savvy with the sheet to take a look and said it should work, so not sure what's going on.
1591852304

Edited 1591852316
GiGs
Pro
Sheet Author
API Scripter
Try moving your 4th weapon to the 1st weapon slot, then try the $0, $1, $2, and $3 tests again, and see which work. There might be something wrong with that specific weapon currently in the 4th slot.