MZ Hide TP cost in battle

I am doing a limit/overdrive system where a skill shows up in the actor command window in battle when a switch is on. The skill uses all the user's TP. However, since it shows up in the actor command window, the TP cost overlaps the name of the skill, which looks terrible. I don't need the TP cost to be shown at all. So I'm looking for a plugin that will allow to add a notetag to a skill like <hide tp cost> so that the cost of the skill won't show up at all. Thanks for reading.
using
http://www.yanfly.moe/wiki/Core_Engine_VisuStella_MZ
http://www.yanfly.moe/wiki/Battle_Core_VisuStella_MZ
http://www.yanfly.moe/wiki/Skills_and_States_Core_VisuStella_MZ

Have the skill cost nothing.
Add notetags:

Code:
<JS Skill Visible>
visible = user.tp == 100;
</JS Skill Visible>

Skill will only show up in selection when the user has 100 TP.

Code:
<JS Pre-Apply>
user.gainTp(-100);
</JS Pre-Apply>

When the skill is used, 100 TP is removed.

No need to use a switch, but you can use
Code:
<Show Switch: x>
if you want.
Optionally use
Code:
<Hide outside Battle>
to hide in menus when not in battle.
The other option is if you're making the skill visible via a switch, and the user doesn't separately need to be at full TP, you could give it no cost and remove the tp in the damage formula.
Code:
a._tp=0; rest of your damage formula

But NaosoX's swanky setup definitely works 🙂
using
http://www.yanfly.moe/wiki/Core_Engine_VisuStella_MZ
http://www.yanfly.moe/wiki/Battle_Core_VisuStella_MZ
http://www.yanfly.moe/wiki/Skills_and_States_Core_VisuStella_MZ

Have the skill cost nothing.
Add notetags:

Code:
<JS Skill Visible>
visible = user.tp == 100;
</JS Skill Visible>

Skill will only show up in selection when the user has 100 TP.

Code:
<JS Pre-Apply>
user.gainTp(-100);
</JS Pre-Apply>

When the skill is used, 100 TP is removed.

No need to use a switch, but you can use
Code:
<Show Switch: x>
if you want.
Optionally use
Code:
<Hide outside Battle>
to hide in menus when not in battle.
Thanks so much! I will try that. As for the switch, it is connected to the availability of the skill through a separate group-overdrive system, so it's needed for visibility.
using
http://www.yanfly.moe/wiki/Core_Engine_VisuStella_MZ
http://www.yanfly.moe/wiki/Battle_Core_VisuStella_MZ
http://www.yanfly.moe/wiki/Skills_and_States_Core_VisuStella_MZ

Have the skill cost nothing.
Add notetags:

Code:
<JS Skill Visible>
visible = user.tp == 100;
</JS Skill Visible>

Skill will only show up in selection when the user has 100 TP.

Code:
<JS Pre-Apply>
user.gainTp(-100);
</JS Pre-Apply>

When the skill is used, 100 TP is removed.

No need to use a switch, but you can use
Code:
<Show Switch: x>
if you want.
Optionally use
Code:
<Hide outside Battle>
to hide in menus when not in battle.
So using those notetags did not hide the skill when the tp was under 100 :\
So using those notetags did not hide the skill when the tp was under 100 :\



Cayou show a screenshot of your skill please
So using those notetags did not hide the skill when the tp was under 100 :\



Cayou show a screenshot of your skill please
So, you have the skill as it's own command, rather than a skill in the skill list?
So, you have the skill as it's own command, rather than a skill in the skill list?
Yes
ok, change:

Code:
<JS Skill Visible>
visible = user.tp == 100;
</JS Skill Visible>

to

Code:
<JS Command Visible>
visible = user.tp == 100;
</JS Command Visible>
ok, change:

Code:
<JS Skill Visible>
visible = user.tp == 100;
</JS Skill Visible>

to

Code:
<JS Command Visible>
visible = user.tp == 100;
</JS Command Visible>
Ok I will try that and let yall know!

Original thread: https://forums.rpgmakerweb.com/threads/hide-tp-cost-in-battle.146198/