Formula for Determing Self HPDrain

So, I want to create a skill that will give the user 100 TP at the cost of their HP. What would be a good formula that would calculate about 35% of the user's total HP based on their level?!
a.mhp * 0.35 if you want their max HP.
a.hp * 0.35 if you want current HP.
Thanks! I assume I put it under HP drain?
You'd want to classify it as HP damage, assuming the scope is The User (HP drain is for having the user gain HP based on damage dealt).
Thank you.
Note that there's a yanfly plugin floating around out there (skill core I think?) that lets you actually set hp as a cost so that it shows up just like mp costs, tp costs, etc and also doesn't let the actor/enemy use the ability if it would kill them. Makes the whole thing look cleaner and more professional.
Why yes, that actually does look cool. I think I'm going to implement it.

Original thread: https://forums.rpgmakerweb.com/threads/formula-for-determing-self-hpdrain.103246/