Help with Yanfly's Follow Up Skills

Yanfly's follow up skills script allows you to use a line of code to determine if the follow up skill should occur or not. I need help figuring out the syntax for a certain condition. I would like the follow up skill for a certain skill to occur if the user of the skill has a certain state AND if the target of the skill has a certain state. I tried to use the following to make this occur, but it didn't work:  

<follow up eval>

self.state?(37) && b.state?(38)

</follow up eval>

 

Does anyone have any idea what the syntax for that condition would be? Any help would be appreciated.

Link to the script: https://yanflychanne...llow-up-skills/

 
The way I see it in the script, b doesn't exist when the skill follow up is checked...


you could probably try to replace b with current_action.target and see if that works

Original thread: https://forums.rpgmakerweb.com/threads/help-with-yanflys-follow-up-skills.41674/