Set specific actor EX-Parameter as a variable?

Hey all, I'm trying to set an actor's Critical Rate as a variable to call later but I am having difficulty finding a way to set it. I know MV is pretty weird about ex parameters and would be ok with a simple plugin to fix the issue if it's not possible to do with a script.

For example, I want Actor 3's critical rate as variable 129. Thank you!
if its the one actor and youre setting it to only that variable, you can try this as a plugin
Code:
Game_Actor.prototype.xparam = function(xparamId) {
  if (xparamId === 2 && this.actorId() === 3) return $gameVariables.value(129)/100;
  return Game_BattlerBase.prototype.xparam.call(this, xparamId);
}
since the value of the param is a decimal and the the engine's standard method of setting variables rounds numbers, the variable value is going to be divided by 100.
so 1 = 1% and 80 = 80% instead of 100% and 8000%
I'm planning on setting the variables for every actor for Hit Rate/Crit Rate/Evasion and Magic Evasion.
Basically it will happen as the player enters the custom status screen maps for each character so that it calculates the variable right before they enter each actor's status page. Currently I only have it working with the primary stats. (Sorry I should've went into more detail at the start.)

I might decide against displaying EX parameters if it's too much of a hassle though...sometimes players just don't need to know xD.

Original thread: https://forums.rpgmakerweb.com/threads/set-specific-actor-ex-parameter-as-a-variable.174808/