Changing elemental rate via event?

So, my idea is that at a certain point the characters can talk to an NPC who can teach them different abilities, which might also have other effects. As an example, a wizard learning ice magic from this NPC would also receive a permanent boost to ice resistance via ElementRate.

This seemed like it should be easy, but there doesn't seem to be any way of actually doing this in the base program. I could give them a state, but it would just get wiped every time they stay at an inn. The only other way I can think of is to just make 20 different versions of every class with all different elemental rates.

Does anyone know of a way to do this?
I use states for female and male characteristics that include different susceptibilities to fire and ice. Although I have not had occasion to alter gender of an actor during play, I like to keep the capability to do so, if it would fit the game.

You might want a plugin such as Yami’s Retain States on Death, so that the party members keep the state(s) if they die. Yami's plugin lets you give the actors the states during play.

Unfortunately, although Yami’s states are resistant to death, they are removed by the ‘Recover All’ editor command. I don't use ‘Recover All’. In the common event for sleep, I remove all states that I want removed, and add a lot (for instance, 3,000) of hit points and magic points. If you try and increase hit or magic points above the actor's maximum, they are just set to maximum.
I use states for female and male characteristics that include different susceptibilities to fire and ice. Although I have not had occasion to alter gender of an actor during play, I like to keep the capability to do so, if it would fit the game.

You might want a plugin such as Yami’s Retain States on Death, so that the party members keep the state(s) if they die. Yami's plugin lets you give the actors the states during play.

Unfortunately, although Yami’s states are resistant to death, they are removed by the ‘Recover All’ editor command. I don't use ‘Recover All’. In the common event for sleep, I remove all states that I want removed, and add a lot (for instance, 3,000) of hit points and magic points. If you try and increase hit or magic points above the actor's maximum, they are just set to maximum.

Yeah. I was also looking at maybe Yanfly's Auto Passive States plugin... neither one seems particularly great for this, though, as it would still mean adding like 6 or 7 states that do nothing except boost one actor's elemental rates.
traits are static by default, which means that without plugins only states can give them.

however there should be a plugin for "dynamic traits" if I remember correctly that would allow you to change any actor trait at any time.
I don't have a link unfortunately
Andar is correct, if you Google "dynamic traits" you'll come up with several options. I believe both Shaz and Galv have written something.
Awesome, dynamic traits is exactly what I'm looking for. I think the reason I had a hard time finding it before is I didn't think to use the word "trait" in my Google search. Thanks.

Original thread: https://forums.rpgmakerweb.com/threads/changing-elemental-rate-via-event.155829/