Modifying Tp Gains

I want to modify the core script so that i can stop all TP gains except from the skill gains i customize in the database.

I tried reseaching a thread for it but can't find any
I have moved this thread from RPG Maker MZ Tutorials to RPG Maker MZ Support.
So when you say stop all TP gains, you mean the TP from taking damage? That's the only thing that's done automatically, anything else comes from effects you put onto skills and such.

I Googled "rpg maker stop tp damage" and this thread has a little plugin for that:

If you also want to not have them start with any TP at the beginning of battle, you'd add:
Code:
Game_Battler.prototype.initTp = function() {
    this.setTp(0);
};
you need to set the tp charge rate to zero for all your actors
do not confuse this with tp regeneration, that is a different parameter.

additionally you might want to set preserve tp to prevent the randomization at the beginning of combat.
So when you say stop all TP gains, you mean the TP from taking damage? That's the only thing that's done automatically, anything else comes from effects you put onto skills and such.

I Googled "rpg maker stop tp damage" and this thread has a little plugin for that:

If you also want to not have them start with any TP at the beginning of battle, you'd add:
Code:
Game_Battler.prototype.initTp = function() {
    this.setTp(0);
};
Thanks a lot, bof work perfectly !

Original thread: https://forums.rpgmakerweb.com/threads/modifying-tp-gains.162217/