Yanfly Engine - Stat Upgrade Help

Yanfly posted this video on how to upgrade stat: https://www.youtube.com/watch?v=LBT05GTDKa4

In it, you use this code to do it:

<Learn Cost Eval>

user._paramPlus[0] += 500;

user.forgetSkill(844);

user.refresh();

</Learn Cost Eval>

 

I am guessing the paramPlus(#) is the parameters ??? what are the #s?

 

Also, would like to know if its possible using this with custom parameters?

 

EDITTED:

What about EX and SP-parameters?
0 - hp

1 - mp

2 - atk

3 - def

4 - mat

5 - mdf

6 - agi

7 - luk

🙂
TY! Just need to figure out if this can be used with custom parameters, EX and SP-Parameters?

EDITED:

Also, if I wanted to increase a parameter by a % instead of a flat +25, how would i go about it?

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-engine-stat-upgrade-help.51531/