Originally Posted by Fiel
Relevant Formulas:
Magic Accuracy = INT + (LUK * 1.2)
Physical Accuracy = LUK + (DEX * 1.2)
Maximum Character Accuracy = 9999
Maximum Mob Avoid = 9999
Procedure:
Calculate the square root of your accuracy. Round down. Call this "Player Accuracy"
Calculate the square root of the enemy's avoid. Round Down. Call this "Mob Avoid"
After doing this, HitRate = Player Accuracy - Mob Avoid + 100
If the HitRate is greater than 100, then make the HitRate equal to 100
If the mob's level is above yours, subtract 5 from HitRate for every level he is above you. If this causes HitRate to go below 0, set HitRate to 0.
HitRate is the percentage chance that you will hit the enemy.