In this plugin: http://www.yanfly.moe/wiki/Enhanced_TP_System_VisuStella_MZ
You have the option to set the maxTP for a mode. I want that maxTP to be a variable (so it can be upgraded).
I have tried to search around and I am sure it is super simple, but I can't figure out quite how to do it.
I tried to use $gameVariables.value(14) and it just zeroed out my TP. I then tried to use
$gameVariables.setValue(14) and got NaN haha.
Is there any javascript formula I can use that will deliver the variable? Or if there is some other way I am supposed to address it.
Thanks!
You have the option to set the maxTP for a mode. I want that maxTP to be a variable (so it can be upgraded).
I have tried to search around and I am sure it is super simple, but I can't figure out quite how to do it.
I tried to use $gameVariables.value(14) and it just zeroed out my TP. I then tried to use
$gameVariables.setValue(14) and got NaN haha.
Is there any javascript formula I can use that will deliver the variable? Or if there is some other way I am supposed to address it.
Thanks!