Mp Tp and Hp recovery rate increase.

Hello, I'm working on a project, and we've run into a problem with one of the parameters of the game, REC.
We wanted to give a status to someone that would increase their Mp recovery rate, but REC increases the recovery rate for MP HP and TP.
We wanted to make it so that we could specify what thing we wanted to buff, so we could have a status that buffs mp recovery rate, another that buffs tp, and so forth.
If anyone knows of a script or something that can specify these parameters, it would be greatly appreciated.
The REC rate does affect HP and MP but not TP. In fact, TCR is used in the TP calculation instead.
Please read the # Comments embedded in the script below.

Edit: It has its own thread now.
I added the script to the script library, saved the project, and opened it up again
But now I want to report and ask some questions.

Is this how you are supposed to add the notetag to modify the recovery rate for one of these stats?
Doing it this way didn't result in any changes to the MP gain of that actor.

(This is an status effect that I applied to the actor I wanted to receive the bonus in MP recovery)

hePG_-5M752nJfEHazupuLbljiCaIqV-ma-aSN9QFuW9WGB6NgeqnsLLa4TTV5y5LbmRBnaItYkuZB_HdrsUiDtQk-b2zjdlP2-cgB7v6vV_uOD9Dlm8y7t-yED773gYoR-U5tWagrY3is5zbukGafc


And also, I’ve noticed that just by adding the script to the project, healing skills now crash the game, even if they’re not being amplified by REC sp-parameter or the notetag in any way. Just a straight plus 30 hp on an actor that has no status effect whatsoever is crashing the game.

1707747184604.png


I might be misunderstanding how the script works
It just needs a condition to prevent enemy troopers from using it. I'll include it in its official thread later on.

Original thread: https://forums.rpgmakerweb.com/threads/mp-tp-and-hp-recovery-rate-increase.165661/