Specific Immunity

Hey everyone, I've been trying to make a skill that makes you asleep, simple enough. The problem is, I'm trying to make one of my main characters immune to that one skill. I'm not finding an easy way to do this -- I don't want him to be immune to SLEEP altogether, but just that lone skill. Can someone point me in the right direction?
Make an identical copy of your sleep state, make that lone skill apply the copy instead of the original, and make your one character immune to that.
Do you use any plugins that determine target parameters? If so, you can have the skill not be able to target that character.

Another option is to have the skill in question call up a common event that checks who the target is and only adds sleep if it isn't that actor.

Original thread: https://forums.rpgmakerweb.com/threads/specific-immunity.179540/