Adding parameters to yanfly status core?

Hi!
I am using yanflys status core plugin and would like to show other "parameters" in there, all of these other parameters toocome from yanfly plugins.
Can I show how much Cooldown & Warmup Reduction , HP & MP Steal, Elemental Amplifiers & Crit Multiplier the actor has?
I know it can be done, as I did it in ACE, but you'll have to edit the plug-in directly. Unfortunately, since ACE uses Ruby I don't know how to make it work for MV, but I do know it can be done with a rewrite of the code of the plug-in.
Sounds like a ton of work 😐
My hope starts to crumble already again!
As bgillisp said, it is possible, and it will require you to delve into a text editor and edit some code. If you look through the code of the plugins you mentioned, you should find the javascript function that stores the value you're looking for. You'll need to write your own code to get that value to show up in the status screen. Also it's better to write the code in a new js plugin rather than edit Yanfly's one directly, as you'll lose all the changes if Yanfly decides to update that plugin.
So, for example for the HP & MP Steal plugin.
It would be probably this I guess ?
Code:
Game_Battler.prototype.getLifeStealRate.call(this, type, target)
?
That isn't how to go about calling the function. I actually tried getting the lifesteal rate a long time ago but couldn't work it out (didn't try again later) but I'll show you the example with the element amplifiers.

If you open the ElementCore plugin, you'll find the following functions:

Code:
Game_Battler.prototype.elementAmplifyRate = function(elementId)

Game_Battler.prototype.elementMagnifyRate = function(elementId)

And since Game_Battler is the superclass of Game_Actor (and Game_Enemy as well), to get an actor's element rate in game, you can use the script call:

Code:
$gameActors.actor(actorId).elementAmplifyRate(elementId);

This will return the element amplify rate of actor with id actorId for element with id elementId.

In plugins however, the actor is usually stored as a variable called actor, so the call there would be

Code:
actor.elementAmplifyRate(elementId)

You can put that line in SRD's equip comparison upgrade plugin to see that it works.

This is how to get the value that you're looking for. How to show this value in a window in the status screen is dependent on you and your game.
So, let's say I would like to add
Code:
actor.elementAmplifyRate(elementId)
into the "Attributes Section" of YEP_StatusMenuCore
How would I go about this? I guess I need to somewhere say that, for example
"fireamplify" = actor.elementAmplifyRate(elementId)
so that then I can proceed to put "fireamplify" into the parameters of attributes.
c08f1e8f07.png

(for exmaple in attributes column 4)

Edit:
Could I maybe somehow make a whole new page into which I can put functions/evals (I dont know how this miracle language calls it >.>) ?
If you want to add it to the attributes section, open the status menu core plugin and search for this line:

Code:
Window_StatusInfo.prototype.drawAttributeData = function(attr, dx, dy, dw) {

You should see a bunch of 'case' statements in the function. To add you own, simply go to the bottom of the statements here:

Code:
case 'exr':
  this.drawAttributeName(Yanfly.Param.StatusAttr_exr, dx, dy, dw);
  this.drawAttributeRate(actor.exr, dx, dy, dw);
  break;
default:
  break;

And add your own statement in a similar style:

case 'exr':
this.drawAttributeName(Yanfly.Param.StatusAttr_exr, dx, dy, dw);
this.drawAttributeRate(actor.exr, dx, dy, dw);
break;
case 'fireamplify':
this.drawAttributeName('
How You Want The Name To Appear', dx, dy, dw);
this.drawAttributeRate(actor.elementAmplifyRate(
FireElementId), dx, dy, dw);
break;

default:
break;

Change the text in red to fit your game.
This will make it so adding 'fireamplify' in the attributes parameters will show the actor's fire amplify rate.
Repeat for the other elements.

Original thread: https://forums.rpgmakerweb.com/threads/adding-parameters-to-yanfly-status-core.80566/