MV How do I make an enemy target party members with a specific status effect?

I'm trying to create a vampire-like enemy who applies a bleeding status effect with the first attack, then targets bleeding party members with the second - I just don't know how to achieve this, since MV only allows the enemy's own status effect as a condition for using an attack.

I also have Yanfly's Target Core, but couldn't find a plugin command that would do this.
I also have Yanfly's Target Core, but couldn't find a plugin command that would do this.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-an-enemy-target-party-members-with-a-specific-status-effect.179556/