MZ Using Visustella for FF9 Support Abilities

I'm really wanting to use Visustella to recreate the way FF9 does ability learning, specifically to passive/support abilities. The flow being having access to the ability only when the gear is equipped on before eventually mastering it via something like AP earned in battle or something similar and no longer needing the equipment on in order to have the ability. It feels like between the cores, the Skill Learn and the Equip Passive plugins, something can be done, but I'm not knowledgeable enough to piece it together.

Is this feasible?
Give the equipment trait to add the skill. Then put <JS Battle Victory> (or similar) on the equipment that adds value to a custom parameter on the actor (all weapons and armor have their own id for the parameter). Also check that if the value has reached the max you learn the skill.

If you want to show it on the menu, Item and Equip Core has Equip Menu Settings where you can add what it draws there. You need to put a gauge there (or just number/number) that compares your custom actor parameter and the max needed depending on the equipment.

EDIT:
When I wrote "parameter" I meant "property". And make it an array. Like a property (maybe one for weapons and one for armors) which index is the weapon/armor id and the value is the "point value"
This worked a dream for skills, thank you so much! I can't quite figure out how to get the states that become the passives onto the equipment trait, though.
Hmmm, not sure what you mean, but I think just something like this will work (didn't test or really think through). So if you want your equipment to teach skill id 5 after 10 battle wins, put a notetag on the equipment:

<JS Battle Victory>
const skillId = 5;
const winsNeeded = 10;
if (!user.isLearnedSkill(skillId)){
user._learnEquipSkills = user._learnEquipSkills || [];
user._learnEquipSkills[skillId] = user._learnEquipSkills[skillId] || 0;
user._learnEquipSkills[skillId] += 1;
if (user._learnEquipSkills[skillId] >= winsNeeded)
user.learnSkill(skillId);
}
</JS Battle Victory>

This is assuming that your equipment teaches unique skills. If you have two different equipment that teaches a skill 'X' and you don't want the values to combine, you'll need to add to the code. With this you don't also need different arrays for weapons and armor, so ignore what I said about that earlier. But yeah, like I said I didn't really think this through so I might be missing something here LOL.

Original thread: https://forums.rpgmakerweb.com/threads/using-visustella-for-ff9-support-abilities.183425/