help with Enhanced TP

this plugin is good but how do i set the amount of tp gained base on the damage taken?

the default tp mode where tp goes up when taking damage but its not base on the amount e.g. 1 enemy attack nearly kills actor, actor gains 5 tp, what i want is 1 enemy attack nearly kills actor, actor gains 70 tp

http://yanfly.moe/2016/01/08/yep-55-enhanced-tp/
Please give a link to which plugin you're using, there are already a few to enhance TP.

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