A skill that provokes all enemies and recovers TP for each enemy affected

Hello everyone!
I'm kinda new to RPG Maker, so I'm sorry if this is something really obvious 😛

I wanted to get some help with a skill. I want it to: provoke all enemies to attack the user, and give 15 TP to the user for each enemy provoked.

Any help highly appreciated 🙂


P.S. if I posted this in the wrong section of the forums, please let me know so I can delete it.
You did post in the wrong section, but you can't and we won't delete posts.

I've moved this thread to VXAce Support. Thank you.

State 12 is Provoke, and if you inflict it on your character they will, by default, provoke all enemies.

I am unsure exactly what you mean by extra TP for each enemy provoked.
If you mean that each time an enemy responds to Provoke by attacking the character, then you could edit the existing state to include a much higher TP gain rate.
Or, do you mean that you want to give the character 15TP for every enemy in the enemy troop as soon as the state is inflicted?
State 12 is Provoke, and if you inflict it on your character they will, by default, provoke all enemies.

I am unsure exactly what you mean by extra TP for each enemy provoked.
If you mean that each time an enemy responds to Provoke by attacking the character, then you could edit the existing state to include a much higher TP gain rate.
Or, do you mean that you want to give the character 15TP for every enemy in the enemy troop as soon as the state is inflicted?

I wanted to give the character 15 TP for every enemy as soon as the state is inflicted.
One way you can do is via the damage formula. Make the "Provoke" skill damage type into hp or mp or tp (doesn't really matter, the idea is to activate the damage formula). There, on the damage formula, you can write this:
Code:
(b.tp += $game_troop.alive_members.size*15)*0
This way, the target (the user in default "Provoke") will get 15 TP for each alive enemy, each time "Provoke" is used.
One way you can do is via the damage formula. Make the "Provoke" skill damage type into hp or mp or tp (doesn't really matter, the idea is to activate the damage formula). There, on the damage formula, you can write this:
Code:
(b.tp += $game_troop.alive_members.size*15)*0
This way, the target (the user in default "Provoke") will get 15 TP for each alive enemy, each time "Provoke" is used.

Thank you ^^

Original thread: https://forums.rpgmakerweb.com/threads/a-skill-that-provokes-all-enemies-and-recovers-tp-for-each-enemy-affected.96551/