Hey there gang, I have been hitting a wall with this one and was hoping some kind soul could help me straighten this out. What I am doing is making a skill from the Yanfly tutorial. The skill is the stat upgrade where you can spend Job Points on a skill that will upgrade a stat, then erase itself so you can purchase it again but you keep the stat.
My issue is that I am trying to use it to upgrade the actors Element Rates and for that there does not appear to be any direct script call to use in place of the regular parameter in the example. I will post the example code.
<Learn Cost Eval>
user._paramPlus[0] += 500;
user.forgetSkill(272);
user.refresh();
</Learn Cost Eval>
This code does what I spoke about above but adds 500 to the actors Max HP. I am hoping there is a way to turn.
._paramPlus[0] into something that would add 1% to a designated Element for the character who buys it. If anyone could help with this I would be super appreciative.🙂 Thanks for taking a look, have a good one all.
My issue is that I am trying to use it to upgrade the actors Element Rates and for that there does not appear to be any direct script call to use in place of the regular parameter in the example. I will post the example code.
<Learn Cost Eval>
user._paramPlus[0] += 500;
user.forgetSkill(272);
user.refresh();
</Learn Cost Eval>
This code does what I spoke about above but adds 500 to the actors Max HP. I am hoping there is a way to turn.
._paramPlus[0] into something that would add 1% to a designated Element for the character who buys it. If anyone could help with this I would be super appreciative.🙂 Thanks for taking a look, have a good one all.