So Yanfly's ATB has the Charge Gauge which fills up when a character selects a skill, with varying speed depending on the user's AGI and the skill. Just in case anyone is unfamiliar with the term, I refer to the particular interval of time that takes as "Casting Time".
I would like a system where characters who are in Casting Time take slightly more physical damage, have slightly reduced EVA, and have slightly reduced CEV; the relevant plugins here are
YEP: Auto-Passive States, and
YEP: Battle System - ATB. I understand the latter is no longer supported by Yanfly for practical reasons, so I understand if no one can answer this; for better or worse, I'm asking here in case anybody still uses Yanfly's ATB. My apologies if this is not the place to ask about interactions involving an unsupported plugin.
What I wish to do is to check for whether or not a unit is in Casting Time, and use that as a <Custom Passive Condition>. I would like to know if this is even possible. I've tried digging through the code for Yanfly's ATB plugin, but I could not understand what was going on, perhaps owing to my inexperience with JavaScript. My current best guess is that what I wish to check for is user.isATBCharging(), but that doesn't seem to be doing anything when used as the <Custom Passive Condition>.
Any help you guys can give would be very much appreciated. Thanks in advance.