[YEP SKILL CORE] Passive Skills Requirements

Does anyone know how to set <Custom Requirement> so a skill can only be used if an actor/enemy knows another skill and it is currently unsealed?
Try this:

<Custom Requirement>
value = user.isLearnedSkill(ID) && !user.isSkillSealed(ID);
</Custom Requirement>
Thanks again man, youre a legend. Have another like to build your status on the site. lol
I'm having trouble with this plugin as well (with the custom requirements, to be exact). Instead of passive skills, I'm trying to have skill X be used ONLY when the caster has a certain classes equipped.

Ex. Having Cure be used only by actors who are either White Mages or Paladins.
I'm having trouble with this plugin as well (with the custom requirements, to be exact). Instead of passive skills, I'm trying to have skill X be used ONLY when the caster has a certain classes equipped.

Ex. Having Cure be used only by actors who are either White Mages or Paladins.

This can easily be done by assigning that skill to a particular skill type and then making the class able to use that skill type.
I know. But I'm using an universal skill type (named it just "Arts"). So pretty much all skills are universal. Just wanted to have a couple of them to be exclusive to certain classes (a bit like how spells are in Tactics Ogre).

PS. Sorry for not clarifying it in the original post.
Okay I get it now. I'll just tell you the way I am handling this same thing, I'm using Yanfly's Skill Core and Skill Learn System (using both gives more option to work with, but you can do this with skill learn system alone). I make a skill give it skill type and give the class the skill type, then I decide which skill that class can learn. This way all your classes can have the save skill type but will only learn what skills you want let them learn.

Links for the plugins:
Skill Core
Skill Learn System
Thanks. I'm also using those two plugins (along with other ones XD).

A friend of mine managed to find a code/string to do exactly what I intended:
<Custom Requirement>
if ($gameActors._data[$gameParty._menuActorId]._classId == 1) {
value = true;
} else {
value = false;
}
</Custom Requirement>

It, pretty much, checks if the Actor is Class 1 and if it is, it allows the Actor to use the spell.

Original thread: https://forums.rpgmakerweb.com/threads/yep-skill-core-passive-skills-requirements.80229/