Yanfly's Skill Cost Manager Issue

Okay. So right now I'm trying to figure out this issue I'm having with Yanfly's Skill Cost Manager.

One of the characters I have is supposed to have a bunch of moves that are powered by using all of his TP, with a minimum of 50 used. The problem is that no matter how I set the tags, all he will use is 50 of his TP.

Any way I can make it so that all of his TP is used?
What tags are you using?
You should have
<tp cost min: 50>
<tp cost: 100%>
Is that right? Let me try that.

Yeah. That didn't work. Not only could I not even see the TP because I'm also using Yanfly's Core Battle Script, but when I try using the skill under 100 TP, it doesn't work.
It should be doable with a custom cost perform tag. But I don't have the cost manager script to check it. Maybe linking the script would help.

Also, do note that skill cost is paid in advance before using the skill. So if you're planning to do "skill damage increased based on TP consumption", it probably won't be accurate as you will get 0 TP anyway because the TP is reduced before the skill is used/executed. Fortunately, changing this behavior should be simple enough through swapping a few lines.
If you want to check it out, here's a link to the script.
That didn't work
I can see why now. Misread the notetag description.
The minimum works, but a new notetag would be needed to make it use all the tp. Or maybe a custom cost.
And what Theoallen said (didn't know that part).
So how should I make it so that such a move works? I'm thinking maybe make a common event that always runs that sets up a variable to equal the amount of TP a character uses for a skill.

I've moved this thread to RGSSx Script Support. Thank you.

Okay. I kind of sorta found a workaround for this with Hime's Effect: TP Charge Script, which by setting the amount of TP used for the attack to 50 and Hime's TP Charge Effect on top of it, I was able to set up a formula to make it work:

Code:
a.atk * (a.tp / 5 + 4) - b.def * 2

Meaning that if the attack is used while you have the base max of 100 TP, the result should be that the 50 TP for the attack is consumed first and then 50 more is used as the numeral for a.tp, so if my character has 50 ATK and the foe has 10 DEF, the result would be:

Code:
50 * (50/5 + 4) - 10 * 2

Which I think is, variance excluded, about... 680 Damage total?

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-skill-cost-manager-issue.122056/