RMMV: Issue with Yanfly 'Critical Control' Rate Formula

Hi all,
I'm using YEPs Critical Control Plug in on MV as seen here: http://www.yanfly.moe/wiki/Critical_Control_(YEP)

My goal: I would like all attacks and abilities to have a chance to be Critical Hits equal to 0.5 * by the user's Luck stat.
So basically, at 1 Luck, the user only has a 0.5% chance of dealing a critical hit. At Luck 50, however, now we're talking a hefty 25% chance. At 200 Luck, I believe it should be a guaranteed Crit since I dont want any Critical Evasion or further modifiers of any kind to the formula. I',

I figured this would be easy but it is NOT working the way I would like.

1. I have changed the default rate formula to: rate = 0.5 * user.luk;
2. I have removed the "Flat Critical Formula" since this was impacting the damage output when Crits connected based on luck


1695945313538.png


The issue: At Luck 1, all my characters are getting Crits AT LEAST half the time, possibly more. I have tried a dozen or so battles and getting a crit should be near impossible at 1 luck, not 3 out of 4 attacks are a crit.

I tries a.luk instead of user.luk just in case but I do have the required Damage Core so user should also work, but neither do.

I ALSO tried the notetag you can apply directly to a skill:

<Critical Rate Formula>
rate = 0.5 * user.luk;
</Critical Rate Formula>

But the exact same issue persists. I'm really scratching my head. Please help!
1 - Your formula isn't right, it says rate = rate =

2 - Your math isn't right 😉 0.5 is half of 1, e.g. 50%. So yes, you should be expecting to see crits exactly half the time. For a 0.5% chance, that's luk * 0.05
1 - Your formula isn't right, it says rate = rate =

2 - Your math isn't right 😉 0.5 is half of 1, e.g. 50%. So yes, you should be expecting to see crits exactly half the time. For a 0.5% chance, that's luk * 0.05
1. :LZSblush: That's embarrassing, don't know how I even made such a silly error. Thank you for pointing that out!

2. Ah! So its not calculating based on 100 = 100% but 1 = 100%! Not having realized that is definitely the source of the issue. 1 luck * 0.05 would result in a 5% chance though, not 0.5%

So for crit % chance to be equal to 1/2 of luck, the formula is rate= 0.005 * user.luk
This way, a luck of 100 will translate to 0.5 chance (50%).

Thanks for the help!
lol at my math also being wrong.

But at least it led you to the light.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-issue-with-yanfly-critical-control-rate-formula.161566/