Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.
Today’s Tips & Tricks video will show you how to create a custom “powered up” effect where if the user is past a certain TP range, the user will gain extra stats!
You can get the copy/paste code here:
Place the following code inside of your state’s notebox. Change the value in red to match the settings of your game.
<Custom Passive Condition>
// Check if the party is in battle.
if ($gameParty.inBattle()) {
// Set the condition to whether or not the user's TP is above 80.
condition = user.tp >= 80;
} else {
// Otherwise, set the condition to false.
condition = false;
}
</Custom Passive Condition>
Happy powering up!
Please wait while you are redirected...or Click Here if you do not want to wait.