How To Modify Status Effect Base Formula

I have no actual idea where to go to edit a part of the game files so I can do this. What I want can't be changed through plugins or events, so I need to tinker around with the formula that determines the chance to inflict a status effect.

Anyone know which file needs to be opened? Where to look for the formula?

I appreciate your help. Thanks.
I believe what you're looking for is a Game_Action function in rpg_objects.js line 1877 in my version. It might be overwritten in some plugins too, like Yanfly's Battle Engine.
If you're talking about the effect Luck has on status ailments, Yanfly's Base Parameter Control plugin gives you direct access to the Luck effect equation via plugin paramters, allowing you to change it or disable it entirely.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-modify-status-effect-base-formula.97367/