Force Miss Command

Hey guys and girls,


is there a way to force an action to miss?


Something like this simple psoydo code: (character/action).setForceMiss(true);


Background:


I'd like to make a state using Yanflys BuffStateCore plugin, that makes the next hit the character recieves to miss. My idea is to make a <Custom React Effect>. In there I can get access to the enemy that hits me with a skill (user), my character, which is under the influance of the state (target) and something called a "Game_Action" (this). I don't exacty know what a Game Action is, but as far as I understood it, it is the action or attack the enemy performes. It also has a property called "isForceMiss = false" so I wonder if I can set this property to true somehow.


Thanks in advance.


Edit: Alternatively a command to alter the hit rate would be enugh.
Ok, altering the hit rate is pretty easy. I just realized, that Yanflys Extra Parameters Formula does the job.


Problem Solved!

Original thread: https://forums.rpgmakerweb.com/threads/force-miss-command.62636/