Yanfly's Base Param - Class Calling

Hi All,

So all I need is the script call for Class ID param to create an "IF" statement within Yanfly's Enemy Base Param plugin (Here).
Something like this:

<Custom Base atk Formula>
if ($gameSwitches.value(29) === true)
{ value = CLASS ID param + $gameVariables.value(56); }
else
{ value = CLASS ID param; }
</Custom Base atk Formula>

I just can't figure out how to reference the "Class ID" part. I'm guessing it's something like "$gameActors.classId(x).atk" but that throws back errors. I've tried with $gameActors.actor(x).atk but that just mimic's the actors current stats which isn't ideal (but good to know since I could use that later with some sort of clone skill).

Can anyone help me out at all?
'Plugin Releases' is where people who have written a plugin they want to share can post them.

Moved to: Javascript/Plugin Support
*Bump*

Anyone have any ideas?
Game_Actor has a function (found in rpg_objects.js) to return the base parameter value, which draws on the actor's class:
Code:
Game_Actor.prototype.paramBase = function(paramId) {
    return this.currentClass().params[paramId][this._level];
};
Based on that, I'm guessing you could use something like this?
Code:
$dataClasses[classId].params[paramId][level]
paramId will likely be 0~7 (mhp, mmp, atk, def, mat, mdf, agi, luk).

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-base-param-class-calling.90782/