MV (Eli class curves)change the curve of a class dinamically

Hello everybody. I'm using Eli class curves to have a much better control over how the parameters of the different classes change when they level up. The plugin works well, but I want to know if there's a way I can change the curve of a class apart from notetags (with scripts or something like that) because I'd like to control curves as the game progresses. Thanks a lot for reading.

This is the link to the plugin:

Hi there!

The class curve data are not stored on the save file. They are generated when the game starts. As so, you may be able to change the curves, but they will always reset when you close/open the game or load a save file.

You should be able to get the curve data with one of these script calls:

Eli.ClassCurves.getClassCurve(classId, isCustom)[paramId]

or

Eli.ClassCurves.getCurve(TemplateName, isCustom)[paramId]

classId → Replace with the class ID you want to find the curve.
isCustom → true it will get the custom parameters. false it will get the default parameters.
TemplateName → The name set for the curve on the plugin parameter.


This should return you the following structure:
1708033248288.png


Although, inside code, almost everything is handled as a function, you will be safe to set a formula on the max and min values through the plugin parameter so the curve can be dynamic, as you can see on the screenshot above.
Hi there!

The class curve data are not stored on the save file. They are generated when the game starts. As so, you may be able to change the curves, but they will always reset when you close/open the game or load a save file.

You should be able to get the curve data with one of these script calls:

Eli.ClassCurves.getClassCurve(classId, isCustom)[paramId]

or

Eli.ClassCurves.getCurve(TemplateName, isCustom)[paramId]

classId → Replace with the class ID you want to find the curve.
isCustom → true it will get the custom parameters. false it will get the default parameters.
TemplateName → The name set for the curve on the plugin parameter.


This should return you the following structure:
View attachment 295428

Although, inside code, almost everything is handled as a function, you will be safe to set a formula on the max and min values through the plugin parameter so the curve can be dynamic, as you can see on the screenshot above.
Thanks a lot for your anwer, but I don't think I quite understand how can I do want I want to do. Basically I have this class (let's say class 10) that already has a custom class curve thanks to a notetag (<CustomCurve:warrior>). I want that class to change to another curve (let's say the wizard one) via common events. How would I exactly do that? Your plugin is awesome btw!
Thanks a lot for your anwer, but I don't think I quite understand how can I do want I want to do. Basically I have this class (let's say class 10) that already has a custom class curve thanks to a notetag (<CustomCurve:warrior>). I want that class to change to another curve (let's say the wizard one) via common events. How would I exactly do that? Your plugin is awesome btw!
Oh, I get it! 🙂
I don't know if my plugin will be able to do this way.
I guess what you can do is duplicate the class on the RPG Maker database, and just give another curve to it.
Like, you can have two equal classes, but one will have the Warrior curve and the other one will have the Wizard curve.
That will work out for you?
Oh, I get it! 🙂
I don't know if my plugin will be able to do this way.
I guess what you can do is duplicate the class on the RPG Maker database, and just give another curve to it.
Like, you can have two equal classes, but one will have the Warrior curve and the other one will have the Wizard curve.
That will work out for you?
Oh, I understand. Yes, that can be a possible solution or maybe give the actor a passive state when the time comes. Thanks a lot for the awesome plugin and your help!

Original thread: https://forums.rpgmakerweb.com/threads/eli-class-curves-change-the-curve-of-a-class-dinamically.165792/