Conditional "Add Skill" depending on states or equipment?

I've been playing around with tying skills to equipment and have hit a bit of a wall with trying to implement certain "combinations" of skills when certain items are equipped.

The specific example I'm focused on involves two items.
  1. an accessory that teaches a "Cure" skill while it's equipped. Super basic; lets a character heal a party member. No issue there.
  2. another accessory that does nothing on its own, but grants an effect which allows some skills to affect a group of targets rather than just one.
So, the goal is that a character with both accessories equipped will lose access to the basic "Cure" and gain "Cure All" instead. The most effective solution, in my mind, is to have accessory 2 give the character an "All" state, and then accessory 1 either has "Add Skill: [Cure]" or, if the character has the "All" state, use "Add Skill: [Cure All]" instead.

I've had moderate success with Hime's Common Equip Events script to add and remove/seal the appropriate skills as equipment is changed, but adding even one more character or one more skill will massively bloat the process, so I'm wondering if there is a better way.
Hey Brimby,

I've got a screenshot here of how this could look in the program. All you need is a common event that checks to see if the character who is using the item has x accessory equipped. If so, it will cast y spell. If not, it will cast z spell.

It is set up so that if only the cure granting item is equipped, then it will cast cure, but if both are equipped, then it will cast recovery. If only the accessory is equipped, nothing will happen.

I hope this helps.
~TTB
1605809398137.png

Original thread: https://forums.rpgmakerweb.com/threads/conditional-add-skill-depending-on-states-or-equipment.130069/