Attack state - enemy vs actor

I've been working on my project for a while and thought I understood the engine well, but I've started to question the features for the weapons.

So I'm getting confused the more I try to figure it out. The help file does not clarify my question. And I googled it.

When setting your weapon features, I first thought that state rate was the chance to inflict a state to the enemy, and attack state was the chance to inflict a state to the actor.
But it seems that state rate is a modification of the chance the state will be applied (not that I'm sure who it applies to), and the attack state inflicts a state.

But here is where I'm trying to figure out what I'm supposed to do.
I want my weapon to have a chance to inflict a state on the enemy and/or a chance to inflict a state on the actor during a normal attack.

I can understand if weapons apply to enemies and armor apply to actors, but I'm questioning which way it is?
What does what?

If attack states apply to enemies, then that is fine. I can use a self-effect script to have specific attack state apply to the actor.
But then what does attack state on an armor do?

For that matter who does the state rate apply to for weapons?

Thanks
"normal attack state" on the skill is a placeholder that tells the engine "use the state that is given by the equipment/Weapon".
A skill that does not have this added to its effects will not use the weapon properties but only inflict those states that are in its own effects.

That is a logic requirement - if you had no way to discern if a skill should do its own effects or use the weapon effects, then each mage's fireball would add the poison state of the equipped dagger (just as an example)
As such the "Normal Attack State" goes to the target of the skill, it has nothing to do with actor or enemy - if you would set it to a heal skill targeted at an ally then it would affect an actor as well.

That said, state rate is the probability of the state affecting the target, and it will always be modified by that enemies luck as well as any rate modifications applied there.

By default a skill can't target both actor and enemy - that is why the damage code fomula is used with codes for add_state if you want a single skill do both. but as far as I know that code is 100% effective, not modified by a chance - you would have to implement the chance in code as well.
Yeah, I just realized that I could have done some testing in a dummy project.

So the results are attack states, whether weapon or armor, will apply to the enemy on successful hit.

Original thread: https://forums.rpgmakerweb.com/threads/attack-state-enemy-vs-actor.112613/