yanfly's row formation

I'm using Yanfly's row formation and I have set two states on the actors who are in the second row. 1 state is that I increase their defense *150 and the second is I decrease their attack to *50. There are certain weapons which are ranged weapons which I wanted resistant to the states applied to the actor in the second row. I've tried to make the weapons resistant to the states applied by the second row, but that doesn't work. I also make a state where the ranged weapon is always *100, but that doesn't work either.

How can I make a ranged weapon which is resistant to the state applied on it by the second row?

As you already have the plugin this isn't a Request for one.
Moved to: JavaScript/Plugin Support
Please edit your post to include a link to the web page where you got the plugin so that people don't have to hunt for it if they need to check something before making a suggestion.
I'm using Yanfly's row formation and I have set two states on the actors who are in the second row. 1 state is that I increase their defense *150 and the second is I decrease their attack to *50. There are certain weapons which are ranged weapons which I wanted resistant to the states applied to the actor in the second row. I've tried to make the weapons resistant to the states applied by the second row, but that doesn't work. I also make a state where the ranged weapon is always *100, but that doesn't work either.

How can I make a ranged weapon which is resistant to the state applied on it by the second row?

knock knock
For ranged weapons I want them resistant to the state of the row formation. But when I apply the resistance to the row formation state, the state of the row formation still supercedes the state of the weapon resistance. How to fix this.
Knock knock
Ok I figure out what I should do. Can someone write a custom row condition where when one of my battlers is using a <ranged weapon> their attack remains *100.

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-row-formation.118256/