MZ Grow Max TP via common event or skill notetag

I have two characters that use TP. I would like to be able to make it so that when they use a skill that costs TP, their max TP raises by 1 point. Is this feasible?
I already have a plugin that enables changes to tp. I'll have to do a minor tweak to allow the changes you want, but it should only take a few minutes. I'll do it when time allows hopefully after I get off work.
I already have a plugin that enables changes to tp. I'll have to do a minor tweak to allow the changes you want, but it should only take a few minutes. I'll do it when time allows hopefully after I get off work.
Ok, thanks so much!
Ok. I had a chance to check out my code.
Looks like I didn't need to tweak it after all!

Link HERE

To use it the way you want, insert this into a skill where the target will get the boost:
Code:
b.tpChange += x;
with x being an integer.
The number can be a negative, but my code does not allow tp to go below 1.

Hope this helps.
Ok. I had a chance to check out my code.
Looks like I didn't need to tweak it after all!

Link HERE

To use it the way you want, insert this into a skill where the target will get the boost:
Code:
b.tpChange += x;
with x being an integer.
The number can be a negative, but my code does not allow tp to go below 1.

Hope this helps.
So will this allow max tp to change permanently? Like, if I put in the skill notes <tpChange: 1> will that increase the user's max tp by 1 each time they use that skill? Also, can I set a hard max? Because I don't want the character's max tp to be able to exceed 999.
No. You'll have to add the code I put above in the skill's damage formula for it to work.

As for the hard max, you'd have to create that code yourself.
I can do it, but that would take a little time.
(Wouldn't happen today.)
No. You'll have to add the code I put above in the skill's damage formula for it to work.

As for the hard max, you'd have to create that code yourself.
I can do it, but that would take a little time.
(Wouldn't happen today.)
Ok. And i'm not in a hurry, so if you are willing to make the code i'd really appreciate it.
Updated plugin to version 1.3 adding param to set MAX TP across your game.
Updated plugin to version 1.3 adding param to set MAX TP across your game.
Ok, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/grow-max-tp-via-common-event-or-skill-notetag.145896/