So I set up a player's sheet to use ammo tracking following the steps in the wiki, and it worked for one shot, then stopped. I checked the API page to see an error lock with a bunch of stuff about firebase: Error: Firebase.update failed: First argument contains NaN in property 'current'
Error: Firebase.update failed: First argument contains NaN in property 'current'
at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:9:186)
at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:207)
at Aa (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:8:462)
at Ea (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:403)
at J.update (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:146:318)
at TrackedObj._doSave (/home/node/d20-api-server/api.js:850:27)
at later (/home/node/d20-api-server/node_modules/underscore/underscore.js:892:31)
at Timeout._onTimeout (/home/node/d20-api-server/node_modules/underscore/underscore.js:829:19)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5) At first I thought it was to do with the fact that I edited the basic 5e OGL sheet (added a couple templates, added a blind roll option in combination with another script - all worked fine). So, I switched back to the basic sheet, tried again, and it still gave that exact same error. The rest of the commands for the companion script seem to work, so I tried making another character, and it worked fine (I also noticed that the styling was different than when I was using the edited sheet, but that's besides the point). Still broke when using it on the original character, so I changed the name of the original then set up another character with that name, and that also broke it, same error as before. Only notable difference between the ones that worked and ones that didn't was that my player had put a hyphen in their character's name, so I think that's what's breaking it? Any help is appreciated though.