How can I get a actors max TP?

Hi everyone,


I need some help with Yanflys TP enhance plugin.


For the TP regeneration part after a won battle I want to set it so that it recovers 10% of the actors max TP. 


How ever, I have no clue about java script and when I tried to do it myself I got error massages all over....


Can someone help me 🙁?
Unless that plugin changes the default, all Max-TP for all actors is fixed at 100.


If that plugin changes the default max, then you're the one who sets the new value, so you should know what you ordered.


If you need more help, please give a link to the plugin so we can check what it can do.
Thank you for your answer ^^


This is the link to the plugin:  http://yanfly.moe/2016/01/08/yep-55-enhanced-tp/
Try user.maxTp() * 0.1
Try user.maxTp() * 0.1



That works perfectly, thanks ^^
Try user.maxTp() * 0.1

Perfect *.* Thanks

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-get-a-actors-max-tp.59767/