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.
MZ Hide TP cost in battle
JS Plugin Requestsusing
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:
Skill will only show up in selection when the user has 100 TP.
When the skill is used, 100 TP is removed.
No need to use a switch, but you can use
if you want.
Optionally use
to hide in menus when not in battle.
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>
Optionally use
Code:
<Hide outside 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.
But NaosoX's swanky setup definitely works 🙂
Code:
a._tp=0; rest of your damage formula
But NaosoX's swanky setup definitely works 🙂
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.
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
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?
ok, change:
to
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/