Locking Skills Behind a State

I want to have a couple characters in my project have advanced modes that unlock special skills. If I had to draw a comparison, it'd be something like Trance from Final Fantasy 9 but only insofar as a character's damage properties and skills changing. I'm not especially interested in converting the TP gauge into a gauge that fills and then empties, and I also don't want it's activation to be involuntary.

I've seen threads that talk about transformations that swap one actor for another for the duration but I would prefer for it to be localized to the same character mechanically. I see I can add the trait "learn skill" but I would like the skills affected to be learned via leveling, available to be viewed easily once learned, but greyed out and unusable unless the state is active. Is this at all possible?
yes and no

for full functionality like described you would need a plugin that gives advanced leveling and skill options.

however with a small side-effect you could make this without plugins:
have the different stages of the skills be diffeerent skill types, and then have the skill type for power up added by the state (and the skill type for the regular skills sealed with the same state.

That way all skills are still learned by level and require the state, but the regular skills will only be sealed and not disappear.
Okay so I set the skills to a different type, added the skills through the state, but the only way I can get them to show up in menus is by applying the "seal skill" trait to either the actor or the class. I can't seem to get the skills to "unseal" when the state is applied and are greyed out even though they're supposed to be available.
added the skills through the state
wrong

I said to add the skills by class / level
the skill type should be added by state, not the skills
Apologies for misinterpreting!

So if I have this right:

I set skills under a new type and assign them to the class and fold the skills into the learn set via level up while also adding the "seal skill" to the class so the mode's abilities aren't normally usable. I set up a state that, among other effects like a damage buff and a change in damage element, has the "add skill type" trait to it. I then make a skill that's primary trait is the "add skill type" while also sealing the regular skill type. This way use of the skill will add the state and unseal the type.

If all this is done in the above way, I still have the issue of the initially sealed skills being sealed even after the state is activated.
also adding the "seal skill" to the class so the mode's abilities aren't normally usable.
no, not to the class
the skills will not be accasible without the regular skill type option that is in the state.

the seal skill type is also for the state and should be only for those skills that are disabled if that state is active.

If all this is done in the above way, I still have the issue of the initially sealed skills being sealed even after the state is activated.
that's because there should be no seal skill type on the class like said above
no, not to the class
the skills will not be accasible without the regular skill type option that is in the state.

the seal skill type is also for the state and should be only for those skills that are disabled if that state is active.


that's because there should be no seal skill type on the class like said above
THAT was where I was goofing up. It worked like a dream after that.

Is there an easy-ish way I can get the skills locked behind the state to show up in the menu? Regardless, thank you for being so patient and teaching!

Original thread: https://forums.rpgmakerweb.com/threads/locking-skills-behind-a-state.177532/