Get my character to change class while still retaining his former one

My character uses water base spells and after one particular event, he is able to use Ice spells!! I am struggling to find a way to have this character still retaining his water base class and spell. The software helps you learn or forget skills but not add Classes to one character, unless you are in the Traits window of an enemy which is completely unrelated.
By default an actor has 1 class at a time. The engine remembers the experience values for each class, but nothing else. If you're using "Add Skill" traits on the class, then those skills will be lost if you change to a new class. That's because only the current class gives an actor traits.

However, when skills are learned by levelling up, from the "Skills to Learn" list of a class, that learning is permanent: learned skills will not disappear if you change class. This works exactly like the "Learn Skill" effect that can be given to Items/Skills.

(Plugins may change any of this.)
my characters aren't learning new skills by leveling up, how unlucky, hopefully I can find a plugin
Can't you just include the Water spells with the ice class to retain them?
Or maybe just set them to be learned at level 1?
Basically make an additional combo-class
then change from the water class to the water+ice class that contains all values from both the water class and the ice class
my characters aren't learning new skills by leveling up, how unlucky, hopefully I can find a plugin
That's not a super helpful reply - how are they learning them?

As caethyril already explained, any method you're using aside from traits (which are, intended to be attachments to the specific database object) should work.
perhaps make that combo class, seal ice spells and when the change occurs in the character, unseal it, (basically adding it) edit : that dosen't work, it's only done through traits
perhaps make that combo class, seal ice spells and when the change occurs in the character, unseal it, (basically adding it)
You never bothered to explain how you learn skills in your project. I don't understand why you can't just use the Change Skill event command to teach the character their new skills during the same event you change their class.
That's not a super helpful reply - how are they learning them?

As caethyril already explained, any method you're using aside from traits (which are, intended to be attachments to the specific database object) should work.
my characters are learning skills by doing various services or finding special scrolls
That doesn't mean anything to us. That's in-game fluff that has nothing to do with your code.

If you're not learning skills by gaining levels in a class, what event commands or script calls are you using? Are they, as asked above, on other database objects and you're using the Add Skill trait?
1694013964730.png
Then, as you were told on Monday, that skill is permanently learned by the actor.

The only way it doesn't stay is if you deliberately remove it, or you're using a plugin that changes the default behavior.

Please check that you're asking about the correct thing - that skill is permanently learned, but whatever class you change to must still have access to the correct skill type in order to see it.
Wait, I just reread the opening post, and noticed something I missed the first time around:


I am struggling to find a way to have this character still retaining his water base class and spell.
So I'm now kinda confused. You say you want to keep your character in their class, and you use the Change Skill command to teach new ones? There shouldn't be a problem here unless your ice skills are under a different skill type, in which case you just need to make an exact copy of your characters class, with the only difference being that the second version has the additional skill type needed.

From there, you can follow it up with the Change Skill commands to add the new skills or have them be level 1 skills in the new version of the class, since I believe all skills in a class' learn list will be learned immediately if you let levels carry over (which you should in this case) and your current level exceeds whatever level requirements you set for prior skills.

Someone correct me if I'm wrong on that last bit.

Original thread: https://forums.rpgmakerweb.com/threads/get-my-character-to-change-class-while-still-retaining-his-former-one.160901/