Force critical or miss

Hi,


how can i force critical or miss before damage execution with this plugin:


http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/ ?


I tried:


<Custom Select Effect>
target.result().critical = false;
target.result().missed = true;
</Custom Select Effect>


but without effects :/


Anyone know how to solve this problem?
as you are using yanflys plugins already, 


he also made one that does exactly what you want. It's called Critical Control.


Just read the instructions, using the plugin is easy.


Hope I could help you 🙂  
Yea i found this two functions


this.actionForceCritical();
this.actionForceNoCritical();


but i still need to force miss/evade an attack


EDIT:


i found additional:


<eva Flat: +99.99>
<mev Flat: +99.99>
<cev Flat: +99.99>


from YEP.69 – Extra Parameter Formula


but still skills with hit type: certain hit don't miss

Original thread: https://forums.rpgmakerweb.com/threads/force-critical-or-miss.70510/