Weapon Specific Magic?

is it possible to lock certain magic and/or special moves behind having specific weapons equipped?

ex: weapon A has Special A, and having Weapon B equipped should disallow Special A from being used.

is this possible at all?
Well even the base engine has traits for weapons: add skill.

Then Yanfly Skill Core plugin has <Custom Requirement> and <Custom Show Eval> notetags, where you can use: user.hasWeapon($dataWeapons[Id])
oh cool!

thanks 😀

Original thread: https://forums.rpgmakerweb.com/threads/weapon-specific-magic.168953/