Is this feature native to RMMZ or does it require a plugin?
MZ Start every battle with 0 TP?
JS Plugin Requestsits not native in MV either.
visustella's enhanced TP systems for MZ looks to be almost exactly the same as yanfly's was for mv.
visustella's enhanced TP systems for MZ looks to be almost exactly the same as yanfly's was for mv.
My bad, I meant to write RMMZ lol
Assuming MZ has a similar enough codebase to MV, there's a method for every battler that initializes TP at the start of battle called Game_Battler.prototype.initTp. It'd be a very small Plugin to include to just always initialize at 0:
Code:
/*:
* @plugindesc When TP is initialized, always sets a value of 0
* @author Zevia
*/
(function(module) {
'use strict';
module.Zevia = module.Zevia || {};
const TP = module.Zevia.TP = {};
TP.initTp = Game_Battler.prototype.initTp;
Game_Battler.prototype.initTp = function() {
this.setTp(0);
};
})(window);
Moved to: Plugin Requests
Original thread: https://forums.rpgmakerweb.com/threads/start-every-battle-with-0-tp.139679/