Help with increase max TP of an actor

Greetings, i am looking for a way to increase the max tp of my actors via one skill.
Example:
Actor has a max of 100 TP, using this skill, the max he can store now is 150, he uses again, the max is now 200, and so on.
Alredy looked at some plugins, like SRD_TPUpgrade, and altought he lets me set the max TP, I don't know how to increase via skills
Are they permanent increases? Going away at the end of battle?

If it's going away at the end of battle, you'd put it on a state. If you want it to stack like you describe, you'll need to use Yanfly's Buffs and States Core.

In your state, put these notetags:
Code:
<Custom Apply Effect>
target.addStateCounter(stateId, 1);
</Custom Apply Effect>

<Change Max TP: +50 * this.getStateCounter(X)>
where X is the ID of the state, no leading zeros.
Are they permanent increases? Going away at the end of battle?

If it's going away at the end of battle, you'd put it on a state. If you want it to stack like you describe, you'll need to use Yanfly's Buffs and States Core.

In your state, put these notetags:
Code:
<Custom Apply Effect>
target.addStateCounter(stateId, 1);
</Custom Apply Effect>

<Change Max TP: +50 * this.getStateCounter(X)>
where X is the ID of the state, no leading zeros.
Permanent
Then you don't check the box to make the state expire at the end of battle, and you use Yanfly's State Categories to make it persist on death or whatever the terminology is.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-increase-max-tp-of-an-actor.160944/