Pretty much the title. It doesn't have to be state specifically, just so it would work, when attributed to skill. I have free VisuMZ plugins, and action sequences, if this helps.
How to make state (or just effect), that gives you X amount of TP when hit?
RPG Maker MZ SupportI think it's a state notetag (change X to your TP amount):
<JS Post-Damage as Target>
target.gainTp(X);
</JS Post-Damage as Target>Yes, this works, thank you.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-state-or-just-effect-that-gives-you-x-amount-of-tp-when-hit.163329/