Question about how "state" features interact with "skill" features

FYI: I'm using Yanfly's Hit Accuracy plugin - so that hit chance is calculated intuitively as Hit Rate minus Evasion Rate, and not two separate calculations. http://www.yanfly.moe/wiki/Hit_Accuracy_(YEP)"

Scenario:

Actor Harold has 100% hit rate.
Enemy Bat has 20% evade rate.
Skill X adds +100% hit rate.
State Y gives -90% hit rate.

If Actor Harold uses Skill X while he is inflicted with State Y, would the game have his Hit Chance first reduce to 10% from State Y, and then the skill adds +100% on top, resulting in a 110% hit rate?

OR, does Skill X add 100% to Actor Harold first, giving him a total hit rate of 200%, which is then reduced by State Y to 20%?
Just going by the help text for the plugin, I would say it looks like"

skillHitRate + userHitRate - targetEvasionRate

And I'm only saying that because that's the order they are listed in plugin parameters. Unless someone has already tested this, I think the only way to know for sure would be to drastically alter your numbers and test the crap out of it.
Just going by the help text for the plugin, I would say it looks like"

skillHitRate + userHitRate - targetEvasionRate

And I'm only saying that because that's the order they are listed in plugin parameters. Unless someone has already tested this, I think the only way to know for sure would be to drastically alter your numbers and test the crap out of it.
The plugin default is actually skillHitRate * (userHitRate - targetEvasionRate)
So the success % for the skill listed in the database acts like a coefficient rather than additive. (note the "*" I have underlined)

But now that I think about it, I like your typod version of the formula better lol. It would allow me to give certain skills extra or negative hit chances.

So to answer OP's question, the answer is neither. Mathematically it looks like the result goes into the negative. Like so:
100% * (100% - 90% - 20%) = -10% chance to hit...meaning Harold will never ever hit that bat lol.

Original thread: https://forums.rpgmakerweb.com/threads/question-about-how-state-features-interact-with-skill-features.122672/