Battle formula for dexterity ?

Hello MV hyped people !

I'm really nosalgic of the dexterity/agility opposition from RM XP, and I don't really like the luck stat to be honest. So I have tried to change luck into a new dexterity caracteristic, but I couldn't find any actual battle formulas into the JS codes (except for stuff like agi impacting speed, but I fear that most of the formulas are now managed into the competeces little formulas from the database. The problem is that it just allows to set damages and resistances, not chances to hit/dodge/perform critical. Not with a direct link to stats anyway...

So any ideas ? Or is there something I have missed ? I know we can adjust the chances to hit and to perform critical hits through the traits, but I'd really like to not create tons of hidden states linked to luck and agility for every playable characters... Plus I don't really know how to suppress the initials caracteristics given by the stat "chance" right now.

Thank you and sorry for the approximative english. :I

Original thread: https://forums.rpgmakerweb.com/threads/battle-formula-for-dexterity.47013/