MV How to make a trinket that Increases critical chance every passing turn?

I have this idea for a passive state (using yanfly passive plugin) for a trinket accessory that makes it so it increases critical chance each time a Crit doesn't land every turn and when a Crit lands the chance resets and then the Crit chance increase again the next turn when it doesn't land and so on and so on
How do I achieve this
(If plugin is needed feel free to tell me)

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-trinket-that-increases-critical-chance-every-passing-turn.171920/