State assistance

I am using Yanfly's Skill Core to try to set a skill with a custom restriction that check's if the user is under a certain state. I know I've been able to get the game to recognize if the state is there in the first place by using $gameActors.actor(1).states().contains(16), problem is (even without the fact that for some reason this still didn't work) this only checks for a certain state on 1 specific actor. Is there a way to have the game check to see if the user is under that specific state as apposed the a certain actor in question?
I figured out what was wrong with 1 actor but considering all the views and no replies; I guess there really is no way to make it target the current user without duplicating the skills and class for each actor... I'll leave this up for a few days in the hopes of someone with enough coding knowledge to be able to assist me before trying to figure out how to ask a moderator to close this topic  ;_;
Couldn't you just have the state add the skill you want?
its possible to add the skill using the state but the skill will remain even after the state is lost. To create an entire systematic series of events using troops event commands also is time consuming and it would be a much slower process than using the SkillCore.
What effect does the skill have? is it a damaging skill?

For damaging skills you can alter the damage formula with something similar to a.is_State(stateID) ? yes formula : no formula
try to set a skill with a custom restriction that check's if the user is under a certain state
 
Give this thread a look: http://forums.rpgmakerweb.com/index.php?/topic/49576-state-required-for-skill/
@skyshadow235

I think you misunderstood me, add the skill to the state in the state tab, when the state is removed so will the skill.

Original thread: https://forums.rpgmakerweb.com/threads/state-assistance.51275/