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

Illum3301

Villager
Member
Joined
Jun 16, 2018
Messages
6
Reaction score
0
First Language
Not english ):
Primarily Uses
RMVXA
Hello everyone!
I'm kinda new to RPG Maker, so I'm sorry if this is something really obvious :p

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.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,842
Reaction score
5,227
First Language
Dutch
Primarily Uses
RMXP
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. Please be sure to post your threads in the correct forum next time. Thank you.

 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
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?
 

Illum3301

Villager
Member
Joined
Jun 16, 2018
Messages
6
Reaction score
0
First Language
Not english ):
Primarily Uses
RMVXA
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.
 

GGZiron

Veteran
Veteran
Joined
Nov 6, 2016
Messages
89
Reaction score
32
First Language
Bulgarian
Primarily Uses
RMVXA
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.
 

Illum3301

Villager
Member
Joined
Jun 16, 2018
Messages
6
Reaction score
0
First Language
Not english ):
Primarily Uses
RMVXA
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 ^^
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,230
Members
137,607
Latest member
Maddo
Top