[SOLVED][XP] Actor's Classes Parameters script?

Hi! I'm looking for a script that effects on actors' parameters growth based on their classes. I googled it but didn't find anything.

For example, the character in my game is a peasant in the beginning and she's becoming a mage later. I want her SP is always at minimum until she becomes a mage, the SP parameter will start growing as it's setup in the database whenever she's leveled up.

Also, I tried Change Parameters command but it won't work for me.

Thanks in advance!

Edit: I found a script https://save-point.org/thread-4148.html
You don't need a script to do this. What you should do is make two "actors" for one character. Make a "peasant" actor and a "mage" actor with the same names and appearance, but different parameters. Then when she becomes a mage later, remove the peasant actor from the party and add the mage actor to the party. At the same time, you can set the mage actor's level equal to the peasant's level as well as copying over any equipment.
Oh, thank you!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-xp-actors-classes-parameters-script.104269/