... how is it possible to start a battle with a random number between 10 and 15 instead of a fixed value?
MZ Using EnhancedTP from Visustella...
Javascript/Plugin SupportFrom VisuMZ_2_EnhancedTpSystem > TP Modes > Choose the mode you wish to use with this setting (example "Stoic" > Initial TP >
Now, whoever uses "Stoic"(default) will start between 10 and 15 TP.
Adjust to your liking.
Be sure to change Preserve TP? to false if you want them to always start with 10-15, otherwise it will take into consideration the TP saved from previous battles.
Code:
Math.randomInt(6)+10
Now, whoever uses "Stoic"(default) will start between 10 and 15 TP.
Adjust to your liking.
Be sure to change Preserve TP? to false if you want them to always start with 10-15, otherwise it will take into consideration the TP saved from previous battles.
Thank you. And if I want to integrate the actor's LUCK in the formula, how would I do it?
Would a.luk work?
Would a.luk work?
No. A and B are only for battle formulas.
is what you can use.
Code:
user.luk
Original thread: https://forums.rpgmakerweb.com/threads/using-enhancedtp-from-visustella.144814/