Trying to create a specific Passive

Okay so I'm trying to make a passive using Yanfly's State Core. This passive is a global enemy passive. Anytime an enemy is struck with a physical attack, I want a specific actor to follow up that attack with a normal attack of their own on the same target (by default, skill #001 "Attack"). Here's what I have in my state note tag:


<Custom React Effect>


BattleManager.queueForceAction($gameActors.actor(1), 1, -2);


</Custom React Effect>


The problem I am running into is that it works....but then the second actor will just keep repeatedly attacking the target over and over....infinitely. Is there any way to fix this?
The problem is that the passive is reacting to the second attack too.  It needs to be set up in a way so that it doesn't trigger off the other attack.  Try creating another skill, identical to attack, and force that instead of a standard attack.  Then use an if statement to stop the reaction if it is the second attack.  Also, I feel like the passive should be on the second actor so that if that actor isn't in the party, it won't cause some kind of error.
Edit: Sort of figured it out


<Custom Confirm Effect>


if (this.isAttack()) {


BattleManager.queueForceAction($gameActors.actor(1), 313, -2);


}


</Custom Confirm Effect>


Just settled for passive aura for allies. It works sort of. Now my issue is...how the game handles forceactions. It just skips the actors turn (the one following up the attacks) now. What do? 😮

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-create-a-specific-passive.71139/