MZ Small plugin to modify maximum parameter values.

Hey folks, I'm looking for a plugin for MZ that lets me hard cap the max values (HP, MP, ATK, etc) that the player can reach ingame. I know this is something that Visustella Core Engine can do, but I am running another plugin that is not compatible with it. Plus this is really the only feature in Core Engine I need, so I think it makes more sense to just have a smaller plugin that only does that.

I'd just like to lower the HP/MP max to 999 and the rest to 99.
I'd just like to lower the HP/MP max to 999 and the rest to 99.
try this then
Code:
Game_Actor.prototype.paramMax = function(paramId) {
    if (paramId === 0) {
        return 999;  // MHP
    } else if (paramId === 1) {
        return 999;  // MMP
    } else {
        return 99;
    }
};
try this then
Code:
Game_Actor.prototype.paramMax = function(paramId) {
    if (paramId === 0) {
        return 999;  // MHP
    } else if (paramId === 1) {
        return 999;  // MMP
    } else {
        return 99;
    }
};

This works perfectly. Thank you!!!

Original thread: https://forums.rpgmakerweb.com/threads/small-plugin-to-modify-maximum-parameter-values.180895/