Bummer... Unfortunately, I was mistaken.
This script is breaking ATB... I had to remove it.
My initial report was a mistake, due to the fact that I assumed it was the abilities instant cast that caused the speed bar to lock... But it was this plugin.
Ok, I verified that it is definitely breaking ATB. But I am unsure how broken.
I have a clean Yanfly only script project I've been plugging each individual script into to see if something breaks... With this script being the only non-yanfly script, ATB breaks,
It may just be a visual break but the charge bar goes blank any time a state using an element formula deals damage.
Due to the type of changes an ATB script needs to do to the battle system, it's very likely that this might break Yanfly's ATB (or vice-versa).
For a quick while back there it broke even my own ATB.
I'll change a few things about how this plugin here works later on, for better compatibility overall. And I might take a look at Yanfly's ATB specifically to ensure compatibility, since it's bound to be a popular plugin.
I think it seemed to work for me because I was using 'time-based' option instead of 'after action' option as the turn structure to increase the battler turn count.
Would it be possible to add a "Can't KO" flag to available notetags? I'm still having the same issue with killing state damage not triggering battle victory and since both you and Yanfly have looked into it and released fixes and it still works like that in some cases I think it'd just be easier to not allow states to kill, at least as a temporary fix until the compatibility problem is found and fixed.
Firstly, I'd like to express my sincerest appreciation for this plugin. As such, I'd really like to use it!
This doesn't seem to have been reported yet, so I'm not entirely sure what's going on... probably an error on my part but here goes:
Plugins being used: Nothing BUT Ellye's State Damage.
I had some states note tagged with custom formulas to use with this plugin. I haven't gotten around to actually applying those states yet. However, if any actor receives a state including death/KO, the game can no longer be saved. In fact it seems to corrupt my save files entirely, making them entirely unusable! (To clarify, the save menu that shows up in game. Any attempt to save after an actor has had a state added is met with nothing but a buzzer. Restarting the game then erases all save data.) Then I just removed all note tags from my states and tried again. The problem persisted.
To cut a long story short, eventually I hit that little F8 button. Every attempt to save output the following error:
Error: Object too deep {stack: "Error: Object too deep↵ at Function.JsonEx._enc…nts/Games/Project%20Test/js/rpg_core.js:7774:35)", message: "Object too deep"}
It references rpg_managers.js:335
For some reason it seems this script is messing with the core scripts at some point or another or is otherwise creating something it does not like, or maybe I'm just doing something wrong.
EDIT 1:
Hmm, works fine in a fresh project though, for some reason. I guess I'll do some more digging.
EDIT 2:
Okay, still able to reproduce the same error even in a completely fresh project.
The "object too deep" is due to self-referencing infinitely, something that was bought to my attention may indeed happen with the way I programmed this.
I'll be able to make the necessary changes tomorrow, I believe. Thanks for all the testing!
if this works for me as intended i will love you like the sibling i never had... (okay well i got siblings but i don't like them and they never call so F them lol)
gonna try it now, been looking for something like this <3