Formula:
rate = (user.cri + (user.luk/100)) * (1 - target.cev - (target.luk/100));
I'm using Yanfly's Critical Control script to edit the rate of crits.
I've added (user/target.luk / 100) to the equation. In the scenario that the enemy has 100 luk and the right side of the equation becomes a negative...
Example:
0.5 * -0.1
= negative rate
What happens with a negative rate? Is it still zero or would irregularities occur?
rate = (user.cri + (user.luk/100)) * (1 - target.cev - (target.luk/100));
I'm using Yanfly's Critical Control script to edit the rate of crits.
I've added (user/target.luk / 100) to the equation. In the scenario that the enemy has 100 luk and the right side of the equation becomes a negative...
Example:
0.5 * -0.1
= negative rate
What happens with a negative rate? Is it still zero or would irregularities occur?