Custom Stats and calling/using them

Hey,
So I wanted to make an event that activates after using an ability. (which works fine)
The ability then should increase a variable. Then when the variable reaches a certain number it should increase a Parameter for example Luck. This all works fine. (Example Screenshot 1)
Yet I wanted to make some custom parameters (I use some Visustella plug ins) and I can get them to show in my Character Info ingame. (Example Screenshot 2)
But I can not get them to work in this common event.
For example I want a Parameter called "Physical" or short "phy".
Is there a way to do this, that will work and also show the level up in this Paramter in the Character Info?
Common Event Level up Parameters.png
Common Event Level up Parameters-2.png
What is your custom parameter formula? In the VisuStella basic settings, aren't they calculated based on the base parameters? If you changed the formula, just change the values you're using in the formula in your event?
What is your custom parameter formula? In the VisuStella basic settings, aren't they calculated based on the base parameters? If you changed the formula, just change the values you're using in the formula in your event?
Do you mean this?

Edit: It being 1 is fine since it should not increase with character levels, I just want it to increase only by using a skill enough times.
Common Event Level up Parameters-3.png
But if it returns '1', how will you ever change it?

Try putting a game variable in there, for example $gameVariables.value(100). Set the variable to 1 at the beginning of the game and then have your common event change that variable. If you have multiple actors using that custom parameter, then you need to make their own variables and reference them in the calculation, depending on the actor. Or maybe you can just add an additional property to your actors/battlers and have it referenced, but I don't know, I'm not a coder 😀
But if it returns '1', how will you ever change it?

Try putting a game variable in there, for example $gameVariables.value(100). Set the variable to 1 at the beginning of the game and then have your common event change that variable. If you have multiple actors using that custom parameter, then you need to make their own variables and reference them in the calculation, depending on the actor. Or maybe you can just add an additional property to your actors/battlers and have it referenced, but I don't know, I'm not a coder 😀

So I changed it to be based on Luck and set Luck to 1 yet, when Luck increases the stat will also increase, which is kind of a problem cause in the end, I need around 7 custom parameters, that shouldn't be all on the same level/ dependend on another parameter.

Also this wouldn't solve the problem when trying to use an event that uses those parameters as they can't be called upon.

But If I knew how the engine script works in code when increasing the value via event (like the first picture"change parameter : actor, luck +1" couldn't I just change the luck part with the parameter I want?


EDIT: I found someone who had a problem that was the solution to my problem for now I guess.
So if anyone has a Problem like this I will post the solution here.
So thanks to everyone who tried to help me 🙂
Common Event Level up Parameters-4.png
Common Event Level up Parameters-5.png
EDIT: I found someone who had a problem that was the solution to my problem for now I guess.
So if anyone has a Problem like this I will post the solution here.
That's exactly what @rpgLord69 told you to do earlier.

Try putting a game variable in there...then have your common event change that variable.
That's exactly what @rpgLord69 told you to do earlier.
Seems like I am so stupid... somehow even after reading it a few times... I still overread this... I am so sorry

Original thread: https://forums.rpgmakerweb.com/threads/custom-stats-and-calling-using-them.165646/