MV Font Size of MP Cost in Window_BattleSkill (MV)

I have wrote some custom code to change the font size in specific windows... See my screenshot below. But for some reason, it isn't changing the font size of the MP cost. Any ideas what I need to do to target that font size too?

1674333575782.png



Code I am using:

Code:
  Window_BattleSkill.prototype.standardFontSize = Window_Base.prototype.standardFontSize;
  Window_BattleSkill.prototype.lineHeight = myStandardLineHeight;

And I have defined standardFontSize and myStandardLineHeight variables previously in the script.

Any help appreciated!
Hi there!

As I can see, the flow of code is this:

JavaScript:
Window_SkillList.prototype.drawItem = function(index) {
    var skill = this._data[index];
    if (skill) {
        var costWidth = this.costWidth();
        var rect = this.itemRect(index);
        rect.width -= this.textPadding();
        this.changePaintOpacity(this.isEnabled(skill));
        this.drawItemName(skill, rect.x, rect.y, rect.width - costWidth);
        this.drawSkillCost(skill, rect.x, rect.y, rect.width);
        this.changePaintOpacity(1);
    }
};

// Inherited
Window_Base.prototype.drawItemName = function(item, x, y, width) {
    width = width || 312;
    if (item) {
        var iconBoxWidth = Window_Base._iconWidth + 4;
        this.resetTextColor();
        this.drawIcon(item.iconIndex, x + 2, y + 2);
        this.drawText(item.name, x + iconBoxWidth, y, width - iconBoxWidth);
    }
};

Window_SkillList.prototype.drawSkillCost = function(skill, x, y, width) {
    if (this._actor.skillTpCost(skill) > 0) {
        this.changeTextColor(this.tpCostColor());
        this.drawText(this._actor.skillTpCost(skill), x, y, width, 'right');
    } else if (this._actor.skillMpCost(skill) > 0) {
        this.changeTextColor(this.mpCostColor());
        this.drawText(this._actor.skillMpCost(skill), x, y, width, 'right');
    }
};

My guess is that something Is changing the font for the skill cost. Maybe another plugin, maybe you overwrite the standard font size, don't know. But something is really changing it.
I tested on a clean project and the change worked for both skill name and skill cost.

Original thread: https://forums.rpgmakerweb.com/threads/font-size-of-mp-cost-in-window_battleskill-mv.154305/