How can I achieve a system like this with YEP Skill Core / Lunatic Mode (Javascript) code?

GO TO ADMIN PANEL > ADD-ONS AND INSTALL ABSTRACT SIDEBAR TO SEE FORUMS AND SIDEBAR

ddblue0

NPC
Joined
Feb 4, 2018
Messages
10
Points
2
Age
38
Hey everyone. I already have YEP Skill Core installed, but I'm not sure how to achieve the following, as I've only just started studying javascript:

1. Actor equips bow A
2. "Bow Skills" (Skill Type, ID 01) menu goes from being visible but greyed out to being visible and usable
3. Skills associated with bow A become usable under that menu, skills associated with other bows not visible at all
4. Actor equips bow B
5."Bow Skills" menu goes from being visible but greyed out to being visible and usable
6. Skills associated with bow B become usable under that menu, skills associated with bow A (and other bows) not visible at all

I should also mention that in my game, bows are not treated as weapons and have no stats.
They are simply "Equipment" (Equipment Type ID 07).
The only reason to ever equip bows is for the skills they make usable (which are kind of like magic spells, since my game doesn't have magic). All the skills fall under the Skill Type "Bow Skills", and which skills are visible depend on which bow is equipped.

--
YEP Skill Core is available from Yanfly here:
http://yanfly.moe/2015/10/13/yep-8-skill-core/
--

Sorry for the convoluted description, but if anyone could help me I'd appreciate it very much.
I have a feeling that this will need to be handled using javascript / Lunatic Mode within the plugin.

Thank you in advance.
 
Top