MZ Plugin to modify TP?

Looking for a plugin that can make TP behave differently. Always giving the player 10 on the first turn, then 20 on the second, 30 on the third etc etc to max of 100. Basically trying to do something like Mana in Hearthstone or Energy in Inscryption.
Hi there!
Found some plugins on google.
I also have one on my itch io page.
I'm unfamiliar with what MZ Plugin is used for State Notetags and the like, but in MV you would do this:

JavaScript:
<Custom Regenerate Effect>
 var tpRec = 10 * $gameTroop.turnCount();
 target.gainTp(tpRec);
</Custom Regenerate Effect>

This would create a State that causes the user to gain TP every turn equal to the current turn number times ten. "tpRec" is simply what I named the Variable used in this example. I don't know how to convert this to whatever the proper MZ format is, but hopefully this will get you a step closer.
in MV you would do this:
That's a start - the problem with that is it does nothing to all the natural methods of gaining TP.

The OP could use code like that in a notetag from VisuStella's Battle Core or my Eval Tags plugin; but further work would still be required to not be gaining TP randomly at the start of battle or from getting hit.

There have been multiple threads like this, if you Google it; there have been snippets provided before to do those things.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-to-modify-tp.164749/