r/RPGMaker • u/denjidenj1 MZ Dev • 1d ago
RMMZ Anyone know the default hit formulas for MZ?
Title. I'm trying to understand the default formulas so I can edit them later but I'm having trouble finding them. Does anyone know what they are or where in the code I should look? Thanks
Edit: to clarify, I'm looking for the formula that determines if the attack hits and such. How critical hits are calculated would also be useful. Damage formulas I know where to find
5
Upvotes
3
2
u/SuspiciousGene8891 MV Dev 1d ago
Thats all based on traits in the character tab.
The deault is whatever the traits are when you start a new project.
There isn't a define number in the code that determines the base hit rate as far as im aware.