Help With TP

I need help coming up with a formula or function. What I'm trying to do is have the initial TP of each actor correspond with their current level. If the actor is a Level 1, he'll start each battle wit 1 TP. If the actor is a Level 3, he'll start with 3 TP, and so on. Similar to Wild Arms 3's Force Points. I know there's a plugin out there called Level My TP, but it doesn't work correctly. Can someone come up with a formula or something for how this would work? Preferably compatible with YanFly's Enhanced TP plugin
You can use Yanfly's plugin to do this, simply put user.level in the initial tp parameter for any TP mode you want it for. You can even do 2*user.level to have tp modes that have 2 times the initial tp as their level!


There is a screenshot below with how I set it up if you still aren't sure!

Spoiler
Capture.PNG
Thanks that's exactly what I needed, just wasn't sure what to put in that space

Original thread: https://forums.rpgmakerweb.com/threads/help-with-tp.59654/