Battle Event troubles

Synopsis of issue;

Not sure exactly how dumb this may sound, but...

I'm using a plethora of Yanfly's plugins, in particular, the one's used here that I'm curious about are the Class Change Core, and, more importantly, the Subclass addition.

Of the subclasses available by this point in the game, one of them allows you to spend Job Points to learn attacks used by enemies like Blue Magic,

*Unlike* Blue Magic, rather than have the player learn the attack immediately, I want the system to read whether or not the player being struck with the attack has the certain Subclass equipped, and if so, have that attack be added to that Subclasses skill roster, so that now the player can spend Job Points learning that skill.

I'm pretty sure I can figure the last part out, it's as easy as rummaging through the plugin command list of the subclass sheet to find out how to add skills to it's roster....

The issue is having the system detect the *subclass* instead of the *main class*.

I'll be using a series of subbranch events,

Every time the enemy attacks with this skill, (we'll call it "Lamia's Trance") the system goes down the line to check if the party has that (sub)class equipped;

Does party member A have class x equipped?
Yes? "Lamia's Trance was added to your skillset!",
Else? (Moves to check the next party member).

My concern is, if it's a subclass instead of a primary class, will the system still detect it if the conditional branch is checking for the *class* of the individual actor?

Thank you in advance!

Original thread: https://forums.rpgmakerweb.com/threads/battle-event-troubles.85436/