Skill Restrictions

I was able to do this using Yamfi skill restriction.  Using custom eval  statements.  The problem I am having now is that I am trying to duplicate the result in MV and not having any luck.  Basically what I am trying to incorporate into the game is -  Stances:   While stance is active - have this skill set 


Any ideas?
you mean when a state is infected, then the skill will available?
Yes - Skill actives a state called stealth - if this state is active then player can use backtab
using yanfly skill core


<Custom Show Eval>
if (user.isStateAffected(x)) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>


x is the state id.
If you go into your Database, go to types, make a skill type for every stance you plan to have. Make your skills, assigning them to their proper stance. Then go to states, and make your stances states, adding the traits "Seal <All other Stances> Skill Types" and Give player <Desired Stance>. Since I'm a fan of visual aids, here's your picture~

Defensive Stance.png
Thank you both.    

Original thread: https://forums.rpgmakerweb.com/threads/skill-restrictions.60003/