TP Recover skill?

I'm looking for a way to make a skill that makes a target ally gain a number of TP equal to the user's MAT.

Any help is appreciated!
There is no need to use a script for that. You can already to that using the damage formula.
Code:
b.tp += a.mat; 0
The 0 in the end ensures that no damage/healing is done to the target except for the TP healing.
Oh.
Okay, thanks!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/tp-recover-skill.110167/