Making a skill available under certain conditions

So I have a few skills I want to only be available when the player has the "Geomancer" and "Pyromancer" classes together (sub or main order doesn't matter). Is there a way to do this? I thought Yanfly's plugins told me how but i can't seem to locate it currently.


I am using a ton of plugins from Yanfly and others, way to many to list.
Reading through Skill Core's documentation, I found this:

Skill Notetag:

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

If the visible is set to true, the skill is shown (not hidden) and enabled
if all other conditions are met. If visible is set to false, the skill is
disabled and hidden from the list.

Unless mistaken, that eval shows the skill only when the user is level 50 or more. Then you need to change that condition, find some eval that goes something like:

if (user.class = ClassIDHere) & (user.subclass = ClassIDHere) {
visible = true;
} else {
visible = false;
}
(This is something random that I came up with, I'm sure that won't work. But if you find the correct evals, it will)

Original thread: https://forums.rpgmakerweb.com/threads/making-a-skill-available-under-certain-conditions.108290/