Take base param

I got a bug that when upgrading MHP, if equipment for MHP has been changed after the upgrade and then unlearning the upgrade, the character will lose hp.

I know there is a command to specify the base param of an actor instead of battler.mhp but im not sure what is it.
how did you "upgrade MHP" and how do you "unlearn upgrade"?
Such an effect should not be possible by default event functions, so I suspect that you're either using a plugin or script code that bypasses the data checks of the event interpreter to get that loosing HP.
3 days
3 days
3 days
how did you "upgrade MHP" and how do you "unlearn upgrade"?
Such an effect should not be possible by default event functions, so I suspect that you're either using a plugin or script code that bypasses the data checks of the event interpreter to get that loosing HP.
You haven't answered that question, and I got the same question to be honest. 🙂
In addition, an actors HP cannot exceed their MHP, reducing the MHP may reduce the actors HP accordingly.

As for your original question:
actor.paramBase(0)
can be used to return the MHP value you specified for that actor/level in the database.
For a specific database actor, actor can be replaced by $gameActors.actor(ID) for example.
Thanks, actor.paramBase(0) is all l needed to know

Original thread: https://forums.rpgmakerweb.com/threads/take-base-param.76284/