MV MV - Using YEP - Skill Learn System to level up

Hi!

I'm using the plugin in the title, and I'm trying to pull some effects on skill learn as shown in one of Yanfly's Tips & Tricks videos.

The note tag I'm using is:

<Learn Cost Eval>
user._paramPlus[x] += y;
</Learn Cost Eval>

x being the number of a parameter (eg. Max HP) and y the permanent increase in the stat (eg. 500).

Is it possible to add an expression in the notetags to force the actor learning the skill to level up? I've tried a few options such as user.level or user.changeLevel but they aren't working, but it might be due to a missuse on my end.

Any help is really appreciated!

Regards,
Isn't there a way to make it so when you unlock the skill it runs a common event? Then you could just have that level them up.
Is it possible to add an expression in the notetags to force the actor learning the skill to level up? I've tried a few options such as user.level or user.changeLevel but they aren't working
The .level is actually a getter function, you can't set it to something. And changeLevel() should work - it's hard to tell if you did something wrong without seeing what you tried.

But this should level up an actor:
Code:
user.changeLevel(user.level+1, true);

Some of that might be different if you're using other plugins. For example, the class change system stores levels per class instead of just the actor.

Isn't there a way to make it so when you unlock the skill it runs a common event?
Not that I can see in the Skill Learn System. You'd have to use another plugin, and it would probably be more efficient to just get this code figured out.
user.levelUp(); will work.

And BTW, I use a stat building system like this. A little complicated to set up fully, but nothing too bad.
Code:
user.changeLevel(user.level+1, true);
Will test this whenever I need to level up several times, thanks!

user.levelUp(); will work.

And BTW, I use a stat building system like this. A little complicated to set up fully, but nothing too bad.
This worked like a charm! Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/mv-using-yep-skill-learn-system-to-level-up.156651/