MV YEP Base Parameter & Level Up Healing Problem (MV) [solved]

I am using Fallen Angel Olivia's Anti Player Stress Plugin & Yanfly's Base Parameter Control Plugin.

I am trying to use Anti Player Stress to restore HP/MP on level up. The problem is that it seems to heal characters before the raise in HP & MP is calculated. It's not healing the characters to 100% in any case.

This only fails to work right when I am using Yanfly's Base Parameter Control Plugin.

I don't think I did any change to the Base Parameter Control HP or MP parameters:

MHP Formula: (base + plus) * paramRate * buffRate + flat
MHP Maximum: customMax || (user.isActor() ? 9999 : 999999)
MHP Minimum: customMin || 1

MMP Formula: (base + plus) * paramRate * buffRate + flat
MMP Maximum: customMax || (user.isActor() ? 9999 : 9999)
MMP Minimum: customMin || 0

All the plugins should be in the correct order.

plugins.png


Is there a way to fix this issue?
you wouldnt need plugins to heal actors.... if i was in your shoes, i would save their levels to variables, compare their levels to the variables by the end of each fight, if the level is greater than the variable value, heal the actor and change the variable to the new level.

may be a lot of work if you have many actors (like 40), but it would work just fine as the check would always occur after the battle xp and leveling up would be resolved.
Is there a way to fix this issue?
Not an easy one, if the way that Yanfly's parameters are being applied is breaking the sequence of events, a fix would involve rewriting some portion of a plugin (and it would have to be Yanfly's, as I presume Olivia's is obfuscated).

If you use Himework's Level Up Events instead, does it still happen?
Not an easy one, if the way that Yanfly's parameters are being applied is breaking the sequence of events, a fix would involve rewriting some portion of a plugin (and it would have to be Yanfly's, as I presume Olivia's is obfuscated).

If you use Himework's Level Up Events instead, does it still happen?

I tried more than one plugin to do this and they weren't working right. However, I just tried your suggestion and I think it works! I am going to try to Common Event Queue as well.

I think this is problem solved!

Edit: I have tested this for a while and it all seems good now. I feel confident that it is solved now.

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/yep-base-parameter-level-up-healing-problem-mv-solved.148009/