Getting a fixed amount of TP by taking damage

Hi everyone, 


I need some help with my TPs.


I use TP instead of MP, because I like how you get them from dealing and getting damage.


BUT I don't want the TP bar be full from just taking one attack from an enemy!


It would be the best if you could only get a max of 5 TP per attack. 


That way it stays the same no matter how much damage you take.


Is something like this possible?
Still dragging along in Ace but Yanfly had a tp manager script that allowed for any kind of adjustment to tp you could imagine, I use it to make different actors tp function completely differently (ex. one actor transforms whenever tp gets above 50, and gains tp from every hit while everyone else loses tp on enemy hits because for them it acts as a stamina bar instead) the point being it's versatile and allows you to do anything with tp that you could think up.


http://yanfly.moe/2016/01/08/yep-55-enhanced-tp/


The above appears to be the MV equivalent, might be more bells and whistles than you were looking for; but it should let you do basically anything with tp that you can dream up if it's anything like the Ace version.
@Alexander Amnell


The problem with that plugin is that I am using sumrandomdudes TP upgrade Plugin and Yanflys plugin doesn't go well with that 🙁
Please provide links to the TP-related plugins you are using.
It's this one:
https://raw.githubusercontent.com/DreamXRMMV/Rpg-Maker-MV/master/DreamX_DamageTPLimit.js


This sets a maximum amount to tp from damage. If you want it to always be a certain number, let me know and I'll update it.
@DreamX


That works perfectly, thank you so much ❤!

Original thread: https://forums.rpgmakerweb.com/threads/getting-a-fixed-amount-of-tp-by-taking-damage.60524/