Yanfly's Crit control

So i'm playing around with YF crit mod. There are 2 things I want to do with it i'm not sure I can. First I want to have the crit go up best on the % of health the character has. So what I want is something like this.

<Physical Critical Rate: +25% if hp=<75%>

<Physical Critical Rate: +50% if hp<50%>

 I'm playing around but i'm unsure if I can do if than statements and if so how to do them in this format. Can anyone lend a hand? 

Also I want to do the same thing but with TP.

Edit

It would seem that critical hit are not doing extra damage. Anyone know why this would be happening?
I've moved this thread to JS Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-crit-control.50808/