Script that allows for "Apply State 'Normal Attack'" to apply all states that are listed in the "Attack State" tab in actors, weapons, armors, etc

This is more of something that would allow for the engine to apply these states instead of anything with notebox tags, I have a feature in my game that has actors apply a state specific to the character, so specific enemies will counter with unique actions and commit to other actions as well, but I'd also like for the characters to have weapons that will apply status ailments, poison and the like, but the engine only seems to add the 'Attack State' in their characters tab, and not the attack state in the armors tab

Original thread: https://forums.rpgmakerweb.com/threads/script-that-allows-for-apply-state-normal-attack-to-apply-all-states-that-are-listed-in-the-attack-state-tab-in-actors-weapons-armors-etc.167189/