MZ Visustella plugins

I'm not sure what plugin it could be... but am I able to make an item that restores a % of TP instead of a fixed amount? I tried making a formula but the only options are HP and MP damage, restore, etc. So not sure if I have to type it up a certain way or add it somewhere else like in the notes.

But I want items that restore total TP by 30%, 60%, 100%. This is because the players TP increases and its used as a stamina meter of sorts.



Feel like it could be within these plugins, but couldnt find anything. But I know visustella lets you do a lot of manual stuff with JS commands.

EDIT: if it helps, in game with visustella's plugin I have

$gameVariables.value(14)

set to the max TP amount. So maybe there is a way to heal tp by taking the variable 14 and finding 30% of its value and then returning that as a TP heal? Just dont know how XD
If you haven't looked through it already, I believe it's possible to utilize VisuStella's Battle Core plugin for this.

1730725913799.png


You're able to affect the TP based on rate, so as long as the rest of the plugin's fields are correctly added to the item, it should be able to regenerate a set amount of the target's TP based on its maximum value.
You don't need any plugins for this.

Attach a common event to the Effects of the item.

Use Control Variables to get 20% of your max TP variable.

Use Control Variables to get the Last Targeted Actor ID.

Do Change TP -> Variable (last targeted actor ID) -> Increase -> Variable (20% of the max)

Original thread: https://forums.rpgmakerweb.com/threads/visustella-plugins.173026/