Hi everyone! My question is, how does negative critical evasion effect critical hit chance? I want to create a state that makes the affected battler take more critical hits. Can the critical hit rate increase beyond its' base value if the opponent's critical evasion is negative or is the attacker's critical rate a hard cap on the attack's chance of being a critical? Thanks in advance.
Negative critical evasion's effect
RPG Maker MV SupportShort answer... I think yes. Here is the RMMV code that determines the % chance of getting a critical hit.
Code:
Game_Action.prototype.itemCri = function(target) {
return this.item().damage.critical ? this.subject().cri * (1 - target.cev) : 0;
};
For example if the attacker has a rate of 45% and the target has an evasion rate of -10% then the actual critical rate would be ~50%.
However, how do you plan to have a negative critical evasion rate? It does not seem possible from the editor.
EDIT: Yes, it is possible to have a negative critical evasion rate from the editor, please ignore that part of the statement.
I actually thought there was something in the code that put a minimum on CEVA at 0%? Maybe I'm wrong though. May want to check and see, as that would mess up the planning of this too.
I am reasonably sure that MV does not have a minimum value for CEV, you can put in "CEV - x%" traits from the editor. Same way you do "HP regen - x%" to make a poison state, and I somewhat remember all of the extra parameters following the same rules.
The easiest way would be to check- make something with a ~10% crit chance, and try hitting something with -999% CEV a few times. If you crit every time, it's working.
The easiest way would be to check- make something with a ~10% crit chance, and try hitting something with -999% CEV a few times. If you crit every time, it's working.
You are absolutely correct Dr Q , after running a couple of tests that is indeed the case.
I also double-checked the code and there's nothing that restricts the value of the ex-params, it simply sums up all of the relevant traits for that actor/enemy.
I also double-checked the code and there's nothing that restricts the value of the ex-params, it simply sums up all of the relevant traits for that actor/enemy.
Good to know. Do though check any plug-ins you add carefully, as I know some plug-ins (and scripts) do restrict the values. I have a script in ACE that restricts CEVA to 0% or higher, though it can be set to another value if I wish to use it.
Original thread: https://forums.rpgmakerweb.com/threads/negative-critical-evasions-effect.88362/