Making a "Capture" Skill

rpgkylon

Villager
Member
Joined
Nov 7, 2013
Messages
15
Reaction score
2
First Language
English
Primarily Uses
Hi! I want to make a skill that "captures an enemy" (lowers enemy's defense and magic defense while stunning them for three turns) but in returns, stuns the user in the process in a "Capturing state" (Prevents from attacking), but has a chance to lose the state if attacked, and if the user loses his state, so does the enemy and vice versa.



I tried to do it in the damage formula, but it is not working, is there a way to do this with script calling, or a plug-in?
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
Plugins are only for MV. Ace uses scripts.

Am I correct in assuming that the lowering of enemy's DEF and MDF, together with the Stun are done by using the Effects box, and are not part of the damage formula?
Am I also correct in assuming that you give the user the stunned state in the damage formula by having
a.add_state(8);

If so, I suggest you make a special state which combines the DEF and MDF debuffs, with the Stun. That is because you do not want these to be removed by damage in all battles for all enemies. They also need to be unique for the second part. For the sake of the example, let is say it is State 103
For the same reason make a special Stun state which we will say is State 104.
On both of them check the box 'Remove by damage' and set the percentage chance that this will happen that you want.
Use the new combined state in the Effects box and the new Stun state in the damage formula.

Having them mutually cancel out is going to be tricky. As far as I can see, the only way to do this would be in troop events.
In every troop where this enemy appears, first check for the Index number of the particular enemy. Set the troop page to run every turn, with span set to Turn.
Conditional
Is enemy X inflicted with state 103?
Yes - do nothing
Else Change state actor (whoever) remove state 104.

Another conditional
Is actor (whoever) inflicted with state 104?
Yes - do nothing
Else Change enemy (index id) state - remove state 103
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,543
Members
137,834
Latest member
EverNoir
Top