Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,942
Reaction score
1,333
First Language
English
Primarily Uses
RMMV
Hey everyone, I'm having a bit of a issue with a skill I'm trying to set up. In my game shields replace counter attack skills and instead inflict the Guard state on the user and they will take less damage. The problem is that I can't get the counter skill to activate until after a character takes damage, when I need it to activate BEFORE damage is inflicted. Is there anyway that I can set this up? If it helps I am using Yanfly's Counter Control plugin. Thank you in advance!
 

Magusalfador

AKA VaroClaw
Veteran
Joined
Jun 15, 2014
Messages
274
Reaction score
44
First Language
English Spanish
Primarily Uses
RMMV
When I need something to happen just before damage, I use Yanfly State & Buff Core. It has this tag:

<Custom Confirm Effect>
code
code
</Custom Confirm Effect>
This effect will run when the battler connects a hit and before damage execution occurs. This effect will run after

You have to create a state first but might be what are you looking for.
 

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,942
Reaction score
1,333
First Language
English
Primarily Uses
RMMV
@Magusalfador Could you give me the code to add an state too, if you wouldn't mind? I thought add state: 2 would be it, but it doesn't work.
 

Latest Threads

Latest Profile Posts

5 months and no progression at all, i love me.
1.6 update incoming with quality breakthrough! :kaoluv:

1643254634071.png
I might try the mechanical bull at the fair on Friday... for one of the challenges, if you stay on for two minutes, you win $200. I might give that a try and see if I win--I'm pretty good at holding on to things.
Remaking a more streamlined version of my Remote Move map skill in MZ, just one switch and one variable to handle everything. If you seen the Move skill in Golden Sun before, moving far away items with your mind is pretty cool

MZtestRemoteMove.gif
I don't want to brag or anything but I was entertaining a woman the other night. I told her jokes while she bandaged my foot.

Forum statistics

Threads
118,734
Messages
1,118,344
Members
155,891
Latest member
Jhinx
Top