Yanfly's Equip Battle Skill - Equiped skill check

Hello!


I have a question about yanfly's "Equip Battle Skill" plugin.


Is there a way (with a script call i guess) to check if a specific skill is actually equiped in a specific slot?


For example : if Actor1 has Skill3 equiped in slot2, it will activate Switch5?
Hi Gooz!


I don't know the answer to this, but I would like to know it as well.  I'm trying to figure it out on my own, but I'm terrible with javascript.  Will let you know if I have any luck.
Hey Gooz!


I don't know if this helps you at all, but I figured out how to check if the party leader has a certain skill equipped.  Maybe this will give you a hint?


$gameParty.leader().battleSkillsRaw().contains(skill.id)


Where you replace skill.id with the ID of the given skill.


I use this in if...else statements to check if an actor has a skill equipped.

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-equip-battle-skill-equiped-skill-check.63332/