Replace Skill with Status

I am designing a skillset where you apply a status effect to yourself, and it completely replaces some / all of your other spells.

I am using @Yanfly plugins, but <Hide if Learned Skill: x> command does not work when it is learned with a status effect.

Could some of you guys help me with this?

I've moved this thread to Plugin Support. Thank you.

I'm assuming you're using skill core if you are place this in the skill that is going to be hidden:

<Custom Show Eval>
if (user.isStateAffected(x)) {
visible = false;
} else {
visible = true;
}
</Custom Show Eval>
Where x is the state id of status effect.
Oh yeah, I found that out. You can use a skill to hide the skills you already know, with making a seperate effect to learn the skill that replaces it.

You can of course add the learning to the same state but I work with 2 enhancing abilities so I made those states seperate.

Original thread: https://forums.rpgmakerweb.com/threads/replace-skill-with-status.88937/