Apply state to skill caster even if it misses

Hello, everyone!!!

What I wanted to know is if it is possible to use a skill on an enemy and buff the caster even if the attack misses? I'm aware that you can add "a.addState(x);" in the damage formula, but the problem is that the state won't apply if the attack misses.

Thank you everyone!!!
That would take a plug-in, as by default, the engine only adds states if the skill hits. At the moment I don't know if any such one exists for that either.

I've moved this thread to Plug-In Requests. Thank you.

Just attach a common event to the skill, that applies the state.

All you'll need to do, is to create different a variant of the skill for each of the actors that will have it.

I use a similar system for both skill progression & skill bonuses to effectiveness, via variables that are applied through a common event when the skill is used.
Just attach a common event to the skill, that applies the state.

All you'll need to do, is to create different a variant of the skill for each of the actors that will have it.

I use a similar system for both skill progression & skill bonuses to effectiveness, via variables that are applied through a common event when the skill is used.

It worked!!! Thanks a lot. I really appreciate it.

Oh, and I'm sorry for not creating this thread in the correct section. I'll try to avoid it next time.
No worries.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/apply-state-to-skill-caster-even-if-it-misses.88876/