Different TP on attacks for different classes.

I'm treating the TP (named LB unless I think of something better) as a Limit Break system, and whenever a magic using class uses a spell, it gives them 1 LB. When a non magic class uses a skill, they get 2 LB.

I would like to make it so that normally, the non magic classes get 1 LB for using an attack, and the magic ones get 2 LB for using an attack.

I would also like to make it so that enemies' attacks don't give the player LB. Is this possible?
Option 1: Duplicate Skills.
Have one give 2 and a copy give 1. Assign appropriately.

Option 2: Conditional TP gain as part of the effect formula. This requires a bit of JS knowledge.

Options 2 can work it for your Basic Attack.

As far as preventing enemy Attacks from giving you TP, you need a plugin for that.
Alright, I'll head over to the JS section then. Thanks x)
Please don't post multiple times in different places. If you need a thread moved, just report it and ask for it to be moved.

Original thread: https://forums.rpgmakerweb.com/threads/different-tp-on-attacks-for-different-classes.52185/