MV Encountered a strange glitch!

So I checked thru my plugins, altered the Escape Formula for the BattleCore, then changed the flat bonus formula for CriticalControl and everything seems fine. I dunno why but I think clicking "Initialize" in Battle test screwed something up, cuz everyone in the battle including the enemies had all thier params set to 1 (0 for MP)! When loading a save file the values are normal at first but once that data is redrawn the glitch occurs! Closing and reopening the program didn't help either!
Okay so from what aI gathered, the game knows what values it should use but something is forcing them to minimize. I am investigating the various plugin changes I have made. I wonder if this buff setting below caused it? Before, It had + 1.0 at the end of mine. So I can't find what's doing this. Does anybody have any ideas?
Did you consider putting the + 1.0 back where it belongs?
Does it work then?
Moved to: Plugin Support
Did you consider putting the + 1.0 back where it belongs?
Does it work then?
No, it didn't work. It seems only the base parameters are glitched, I plan to investigate further. I tried turning off the plugins I would expect was causing the issue and still, nothing!
No, it didn't work. It seems only the base parameters are glitched, I plan to investigate further. I tried turning off the plugins I would expect was causing the issue and still, nothing!
The console pulls up this error when starting a battle! Why does it say $GameParty.luck isn't a function? I have a hunch that something is preventing the params from being properly set so as a failsafe it uses the minimum value. How can I use the console to see the code run in real-time while I am testing? I'd like to know if I can spot what is causing the values to go down. Strangely, the console doesn't throw any error when the params glitch outside of battles.

Original thread: https://forums.rpgmakerweb.com/threads/encountered-a-strange-glitch.136057/