Class change that keep actor actual stats

Hi everyone !
There is my problem.
In my game, actors can change class once by reaching level 21 of their original class or by using an item if actor level >= 10. They keep their current level when promoting.

I use Hime_LevelUpEvent to incrase stats each level up with an RNG based variable, so stats are incrasing randomly each level up, so my actors stats are not definied by the class itself (only actor initial stats are based on it as "starting stats when actor join party". The class curve is constant to assure that only the RNG can incrase a stat).
Once the actor is promoted it can't return to its previous class.

When an actor change class, it should only gain a flat bonus to its stats. They shouldn't loose points in stats.

How can I do to change class my actors and keep their currents stats ? (and only gain flats when promoting, not loose stats)

(Sorry if I'm not clear. I'm not very at ease speaking in english. If someone speak french I can explain better)
Just in case anyone is confused, OP is using a Fire Emblem style of growth. All their actors have their own base stats that they start with, and every level up gives them random increases.

When a character promotes into a new class, that promotion will award a set boost to the character's stats, but the stat increases from level ups will remain random.
Just in case anyone is confused, OP is using a Fire Emblem style of growth. All their actors have their own base stats that they start with, and every level up gives them random increases.

When a character promotes into a new class, that promotion will award a set boost to the character's stats, but the stat increases from level ups will remain random.
Exactly. Thanks for reformuling !

I recreated the Fire Emblem growth rates based level up using Hime_LevelUpEvent and common évents.
Hi there!
If the class curve only matters for initial stats, just make every class curve that character can change equal on the database.

As my understanding you are changing the actor stats with event commands/script calls right?

If I remember well, when an actor change classes they remain with the stats points they earn through event commands/item growth effect etc.

So if the class curves are the same, they stats will not change.

If you need a plugin for that, I got two that I believe cover this system:
Eli Class Curves
Eli Class Promotions
Hi there!
If the class curve only matters for initial stats, just make every class curve that character can change equal on the database.

As my understanding you are changing the actor stats with event commands/script calls right?

If I remember well, when an actor change classes they remain with the stats points they earn through event commands/item growth effect etc.

So if the class curves are the same, they stats will not change.

If you need a plugin for that, I got two that I believe cover this system:
Eli Class Curves
Eli Class Promotions
Oh, it's good to know !
I didn't know that stat boon given by call an event command aren't affected by class change. So I just need to give the same bases on the starting class and the promoted class if I understood ?

(Here a screen from a Level up common event, it's only changing by event command)
Spoiler: common event
1702588462695.png

Yeah I saw that you had plugins for that and I wanted to use them. Maybe I didn't configure them well (especially your Custom Parameter plugin, when I wanted to use a custom with it, it was like the custom stat didn't exist at all) but my game totally ignore your plugins (I don't know why, that's strange). I wanted to use your Class curve plugin + your enemy class plugin to do enemies with growth rates by leveling up (just use the class for base stats and give enemy a level, so the plugin could automaticaly create balanced enemies)

EDIT : you are effectivly right. If the curves are the same, class changes don't impact my character stats because they were boosted by event command (here is a screen of my level 15 character before class change and after class change)
Spoiler: class change
before class change
1702590359091.png


after class change
1702590415041.png
I didn't know that stat boon given by call an event command aren't affected by class change.
I think we all presumed that you had tried it and found a problem before asking for help 🤣

Good luck with your game.
Oh, it's good to know !
I didn't know that stat boon given by call an event command aren't affected by class change. So I just need to give the same bases on the starting class and the promoted class if I understood ?

(Here a screen from a Level up common event, it's only changing by event command)
Spoiler: common event

Yeah I saw that you had plugins for that and I wanted to use them. Maybe I didn't configure them well (especially your Custom Parameter plugin, when I wanted to use a custom with it, it was like the custom stat didn't exist at all) but my game totally ignore your plugins (I don't know why, that's strange). I wanted to use your Class curve plugin + your enemy class plugin to do enemies with growth rates by leveling up (just use the class for base stats and give enemy a level, so the plugin could automaticaly create balanced enemies)

EDIT : you are effectivly right. If the curves are the same, class changes don't impact my character stats because they were boosted by event command (here is a screen of my level 15 character before class change and after class change)
Spoiler: class change
before class change
View attachment 288008

after class change
View attachment 288009
- I think if the way you are doing things, it's already working for you, then forget about my plugins.
But if you still want to use them, I can help you out. There is also my sample project with everything already working.
Although, I may not fix bugs or implement new features on the MV versions ^^''
- I think if the way you are doing things, it's already working for you, then forget about my plugins.
But if you still want to use them, I can help you out. There is also my sample project with everything already working.
Although, I may not fix bugs or implement new features on the MV versions ^^''
I will take a look to this.

I think I will continue to use what I have already done for actors (because it works ahah) but I will probably use your plugins for growths on enemies (because the common event levelup method with Hime's plugin can't work on enemies. Maybe with base RPG maker battle scene, but definitly not with the SRPG battle system).

I would contact you later if I have any problem with them.

Original thread: https://forums.rpgmakerweb.com/threads/class-change-that-keep-actor-actual-stats.163850/