Regenerate TP when turn start or ends

I wanted the actors to regenerate TP when the turn start or ends to its MAX value.
Every action besides blocking costs TP on my project and that's something quite annoying right now.
For turn start, try this script call in battle events that are triggered on turn 0 + 1 * X:


$gameParty.aliveMembers().forEach(function(mem) {
mem.setTp(mem.maxTp());
});


For turn end, try to add a state to add actors having TRG as +100% 🙂

Original thread: https://forums.rpgmakerweb.com/threads/regenerate-tp-when-turn-start-or-ends.61882/