how to make a state that makes enemies miss all attacks?

I would like to cause that... when a state is present in an actor, the enemies miss all attacks to it. I do not want the hero to evade, but rather that he is attacked but not successful.

Does anyone have an idea how to do it?
Thanks!
That is not possible without script or plugin depending on which maker you're asking for.
And this is the wrong Areal for how-to questions.

Please ask the question in the support area of the Maker you're using because the answer depends on that.
@Andar Thanks, i use Vx Ace... i will do this...

I've moved this thread to RGSSx Script Requests. Thank you.



Since it requires a script, I had to move it there.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-state-that-makes-enemies-miss-all-attacks.86597/