MV exceeding the default enemy parameter cap?

I have a feeling this a lost cause, but I thought I would ask first... I have a system for my players to level up by allocating Points to stats after every battle. The enemies grow with the player based on certain parameters. The player is able to get to some crazy strong numbers - think over 10k and over 1k parameters. I'm using Yanfly's plugins to for this. For the most part it works as designed with no problems on this side.

The problem I'm running into is on the enemy's parameters. The parameters grow as needed and it's working very well, UNTIL it hits the default parameter cap of 999. Once the parameter in question reach above the 999 number the system caps the enemy's parameter and nothing I change will raise that.

And I mean nothing - YEP_CoreEngine, DamageCore, BattleEngineCore, EnemyLevels, EnemyBaseParam, Etc. - Nothing.

Is there a way to change this so I can have higher numbers or am I going to have rework my entire system to accommodate lower numbers?

Visual Aid:
Stat.png

The Bottom Line is the enemy's ATK parameter based on the players stats [the number is not the real number I was experimenting], but the enemy's actual parameter is locked at 999 as you can see here.

It's extremely frustrating so I'm hoping you guys can help me out.
Hey,

I am pretty sure there are plugins to adjust parameter limits that may have more helpful features, but if you cannot find one these are probably the functions you would want to overwrite in a custom plugin, assuming no other plugin you use already does:
JavaScript:
// ==============================================================================
//  Custom Param max
// ------------------------------------------------------------------------------
/*:
 * @plugindesc Custom Maximum Parameter Values
 * @help See plugin code for details.
 */
// ==============================================================================

Game_BattlerBase.prototype.paramMax = function(paramId) {
    if (paramId === 0) {
        return 999999;  // MHP
    } else if (paramId === 1) {
        return 9999;    // MMP
    } else {
        return 999;
    }
};

Game_Actor.prototype.paramMax = function(paramId) {
    if (paramId === 0) {
        return 9999;    // MHP
    }
    return Game_Battler.prototype.paramMax.call(this, paramId);
};
If you want to remove the limits entirely you can replace the limit values with Infinity.
Hey,

I am pretty sure there are plugins to adjust parameter limits that may have more helpful features, but if you cannot find one these are probably the functions you would want to overwrite in a custom plugin, assuming no other plugin you use already does:
JavaScript:
// ==============================================================================
//  Custom Param max
// ------------------------------------------------------------------------------
/*:
 * @plugindesc Custom Maximum Parameter Values
 * @help See plugin code for details.
 */
// ==============================================================================

Game_BattlerBase.prototype.paramMax = function(paramId) {
    if (paramId === 0) {
        return 999999;  // MHP
    } else if (paramId === 1) {
        return 9999;    // MMP
    } else {
        return 999;
    }
};

Game_Actor.prototype.paramMax = function(paramId) {
    if (paramId === 0) {
        return 9999;    // MHP
    }
    return Game_Battler.prototype.paramMax.call(this, paramId);
};
If you want to remove the limits entirely you can replace the limit values with Infinity.
Just oout of curiousity.... IS this only for the HP and MP values? Because those are the ones that work just the way their supposed to, it ATK, DEF, MAT, Etc. that I need to get fixed. But I'll look for these parameters.

Thanks for info

EDIT: Thank you, @Another Fen... I had to do some hunting, but I found what I was looking for and it seems to work just fine now. Hopefully I don't find any other problems.
The code above changes Max HP to 999999, Max MP to 9999, and everything else to 999.

For others, just do other 'else' branches, or change 999 to any value you want to be available max for those parameters.
The code above changes Max HP to 999999, Max MP to 9999, and everything else to 999.

For others, just do other 'else' branches, or change 999 to any value you want to be available max for those parameters.
Yeah, after a little hunting I found all the instances of this code in the plugins I have active in my project and managed to find the one that worked for me. Thanks

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/exceeding-the-default-enemy-parameter-cap.181507/