Where are the basic battle mechanics located in the default scripts?

I want to remove Luck's effect on state accuracy and set the preemptive chance to 0, but I can't find the formulas or values for these in any of the default scripts. I've tried opening them all and searching for Luck, preemptive, etc., but nothing came up.
Its a bit all over the place, but what you are looking for is in the Game_Action section somewhere, in rpg_objects.js  
Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/where-are-the-basic-battle-mechanics-located-in-the-default-scripts.54851/