So, as explained above, SW rewrote the script that handles charges. When M&U wrote KnK, he made it very complex in the charge handling. I don't really think anyone but M&U would be able to quickly piece JoAT back together with the rewrite of the charges script that SW did. Now, I do have a plan to bring JoAT back to full functionality, but it involves a considerable investment of time, which I am completely incapable of doing right now as I am a medical student and I have patients and exams that trump everything else in my life.
That being said, I have duct-taped the crap out of JoAT and maintained ALMOST all of it's previous functionality so hopefully that duct-tape will hold until I have a long enough break that I can fix it properly. I ask for your patience in this matter. I understand how seriously people take their TTRPG's as I am one of them. If anyone wants to step up and try to take this project on, I'd be happy to discuss that as well.
What that means for RIGHT NOW: 2 things:
* 1.> JoAT no longer will decrement inventories when using charges. Work around would be manually decrementing inventory or moving to another extension that does this (Mad Nomad's Consumable Item's or Equipped Effects).
* 2.> The charge counter on items is now determined ONLY by the charge counter on the SPELL RECORD, NOT the ITEM RECORD. (it was BOTH before this patch) Please see the attached screenshot.
Attachment 65016
Now, because of #2 above, there's likely many people out there with a ton of items that have charges on them, that do not have charges on the spell record. For those people: I recommend you take this problem 1 item at a time as needed (i.e. when they come up in your campaign). If this is not a viable solution for you, you can get more aggressive with scripting and risk some data loss. If you want to use this route, backup your campaign and/or module for the source of the data (make copies of the files and put them somewhere outside the fantasy grounds folder). Then you can open the db.xml in a text editor and try to to do a find & replace. If this is too daunting for you and you still feel this is very important, message me in discord and I'll see if I can help you in your individual situation.