Actors dodge nearly all attacks during the endgame

Hi, I am almost done making my first game, just finished the final chapter a few days ago. The only problem is that while testing I have come across an issue that leads to like over 50% of all attacks are being dodged. This was not a problem earlier in the game, it seems like evasion rates has gotten higher and higher as the game progressed.

I am using Yanfly Extra Param Formula, but not Yanfly hit accuracy. I left in the default hit and evasion formulas, which looks like this:

Hit
(base + plus) * rate + flat + ((user.atk + user.agi) / 2000)

Evasion

(base + plus) * rate + flat + ((user.def + user.agi) / 2000)

Otherwise I have a 95% hit rate and 5 % evasion for both physical and magic.

How do I fix this issue?

Also, the main reason for why I don't have the Yanfly accuracy plugin enabled is that it seems to disable the evasion animation. It doesn't seem that having it on makes evades less frequent either.

Edit: There is also one more potential culprit, that being that buffs and debuffs are set at 35% currently. This is because they felt a bit weak at 25% in the early game. But in the late game I have noticed buffs and debuffs makes a massive difference, perhaps too big a difference. I could go back to 25%, but that involved testing the entire game again to make sure all fights are beatable on the hardest difficulty.
Evasion
(base + plus) * rate + flat + ((user.atk + user.agi) / 2000)
it depends on how those parameters grow for your actors. lets say your actor has a base 5% chance to dodge. If their luck and agi added up to be 400, then that by itself adds a +20% change to dodge attacks. and since the dodge calculation happens after hitting, it means any attack that isnt guaranteed to hit automatically has an extra 1/4 chance to fail to land anyways after the hit check

Also, the main reason for why I don't have the Yanfly accuracy plugin enabled is that it seems to disable the evasion animation. It doesn't seem that having it on makes evades less frequent either.
IIRC thats because of the default parameter configuration. pretty sure it reduces the evasion rate used by actions to 0 and makes the hit rate factor in the target's evasion rate so that dodging doesnt supersede hitting like it normally does. You'd have to change the parameters.
it depends on how those parameters grow for your actors. lets say your actor has a base 5% chance to dodge. If their luck and agi added up to be 400, then that by itself adds a +20% change to dodge attacks. and since the dodge calculation happens after hitting, it means any attack that isnt guaranteed to hit automatically has an extra 1/4 chance to fail to land anyways after the hit check


IIRC thats because of the default parameter configuration. pretty sure it reduces the evasion rate used by actions to 0 and makes the hit rate factor in the target's evasion rate so that dodging doesnt supersede hitting like it normally does. You'd have to change the parameters.
Hmm. I do wonder what the exact dodge percentages are. Most characters in the lategame has around 450-500 agility, one particular character has over 500. Fully buffed, his Agility goes over 900 due to each of the two stacks of buffs adding 35%.

I don't actually know what the base +plus in the formula refers to. But with 5% evasion rate, 913 agility and 692 defense. I get over 85% dodge. That cannot be right.

Same character unbuffed has 547 Agility and 368 defense. Which translates to about 50% dodge.

So, how do I solve this? 50% for an extra agile character is okay. But 85% is beyond ridiculous.
But with 5% evasion rate, 913 agility and 692 defense. I get over 85% dodge. That cannot be right.
that sounds entirely correct. Assuming the rate is 1 and the flat is 0, the character's eva would be slightly over 85%, and you yourself said that endgame actors were dodging nearly everything.

So, how do I solve this? 50% for an extra agile character is okay. But 85% is beyond ridiculous.
change formulas. either how your actor's agi and def grow, how the evasion parameter grows, how hit and evasion interact by using the accuracy plugin, or any combination of the 3. you need to know what your numbers are doing and how they work to keep your game balanced
you can replace the evasion stat formula with this:

(base + plus) * rate + flat + (-2 + (27*( (user.def + user.agi) / 415) ) )

this makes it so level 1 characters have 0 evasion and it increases up to 25 when you have stats equal to level 100 (it scales with the same stats as the default formula).

to tweak the evasion ceiling just change the 27 for a lower or higher number.

this assumes default MV stats, if you use a different spread you need different numbers.

(it might be off by 1 or 2 points but it works).
Without Yanfly's Hit Accuracy plugin, by default accuracy and evasion are determined individually. So for example if you had 160% HIT and 80% EVA, first the game checks if the 160% HIT succeeds (it always would), and then it rolls a 80% chance to evade. In other words, HIT values above 100% would do nothing to offset the increased EVA values.
you can replace the evasion stat formula with this:

(base + plus) * rate + flat + (-2 + (27*( (user.def + user.agi) / 415) ) )

this makes it so level 1 characters have 0 evasion and it increases up to 25 when you have stats equal to level 100 (it scales with the same stats as the default formula).

to tweak the evasion ceiling just change the 27 for a lower or higher number.

this assumes default MV stats, if you use a different spread you need different numbers.

(it might be off by 1 or 2 points but it works).
Intresting suggestion, I might give it a try. Though for now I changed buffs and debuffs back to 25% and the divided by 2000 in the old formula to 3000. Which brings the number back from 85% on the most evasive character with maximum buffs to about 50%. And 35% unbuffed. I think that works.

Things is, I don't want evade to be too low as some characters gain TP by evading attacks. The character I have been using as an example is one of them. I want him to have high dodge, I just don't want him to be literally impervious.

But I will keep this formula in mind for the next game, which is going to be alot more grounded when it comes to mechanics. The one I am working on now has a high power level and many ridiculous skills.

Hopefully this solves the issue.
Things is, I don't want evade to be too low as some characters gain TP by evading attacks. The character I have been using as an example is one of them. I want him to have high dodge, I just don't want him to be literally impervious.
Something you could consider is what I did in my game. Instead of making evading a total miss, Evading attacks creates an "anti-critical" hit where the damage is reduced by, say 75% and skill effects don't activate but counter attacks are more likely.

This way, you can still have high evasion with a tiny bit less need to balance.

Original thread: https://forums.rpgmakerweb.com/threads/actors-dodge-nearly-all-attacks-during-the-endgame.179263/