MV How to reference "State Rate" in code?

I would like to reference a characters state rate in my skill / state notetags to check for their state rates.

As an example, I have this notetag in one of my skills:
(Note: State 195 is a powerup-state that strengthens certain skills like this one, State 65 is blindness)

<Post-Damage Eval>
if (user.isStateAffected(195)) {
user.removeState(195);
rate = 30;
if (Math.randomInt(100)+1 <= rate) {target.addState(65);}
} else {
user.addState(195);
}
</Post-Damage Eval>

Now, if an enemy has "State Rate: Blindness * 50%" for example, the actual chance will still be 30% instead of 15%.
Looking through the console, I believe this is what I am looking for:

Spoiler: Console
console.png

But clearly these are not values I can easily reference in code like most other values.
So how do I utilize these values in my code? I am looking for something like this:
Edit: This code is actually correct from the get-go

<Post-Damage Eval>
if (user.isStateAffected(195)) {
user.removeState(195);
rate = 30 * target.stateRate(65);
if (Math.randomInt(100)+1 <= rate) {target.addState(65);}
} else {
user.addState(195);
}
</Post-Damage Eval>

Any help is welcome.
I Googled "RPG Maker MV script state rate" and found: $gameActors.actor(id).stateRate(stateId);

So your pseudo-code was correct, except MV's code never capitalizes the first word.
Huh. So it turns out that the pseudo code I wrote on a whim was actually correct after all.

It seem that this was ultimately a little pointless then. But oh well, atleast my problem is fixed and maybe this can help other people down the line.

Thank you for your help as always, @ATT_Turan .

Original thread: https://forums.rpgmakerweb.com/threads/how-to-reference-state-rate-in-code.137108/