How can I make an enemy target an actor with a condition?

How can I have enemies do something like "attack an asleep actor with skill that deals more damage to asleep actors". That was just an example, it seems they the only conditions enemies have this based on their own MP, HP, status etc. How can I make their attacks based off of an actor's condition?
VisuStella Battle AI
VisuStella Battle AI
thank you, this should have everything I need

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-an-enemy-target-an-actor-with-a-condition.181234/