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

[HELP] Using Ammo API with Dark Heresy

So, my players an I have been having difficulty keeping track of ammunition in Dark Heresy so I decided to to try my hands at the 2nd ed advanced api character sheet with the ammo API however when I use a ranged weapon the ammo does not decrease and I get the error: Attribute [repeating_Rangedweapons__Rangedweaponclip] was not found. Please verify that you have the right name. Anyone else has any experience with this?
1583628598
Kraynic
Pro
Sheet Author
I hit your post on reddit before coming here, so I will copy that response here: I'm not familiar with that sheet, but anything referencing something in a repeating section will have 3 parts: Repeating section designation (from the html code) Row identifier The specific attribute you want from that section and row There should be an underscore between each of those 3 components. The shorthand for row id is $0 and counting up from there for whatever row you are in. Assuming your code above is right, you may need repeating_Rangedweapons_$0_Rangedweaponclip if you are trying to influence ammo in the first row. Change the number to a 1 for row 2, etc.