First, I'm using YEP Skill Learn System and JP plugins - so hopefully I'm in the right place to post this! It's not a plugin error, so I believe I am...
I made learnable skills for each character that uses JP to boost a stat, with increasing costs, and a max 'boost' count. The number of times the boost has been learnt is put in the skill text box("Stat has been boosted x times"). The skill works as intended; what I'm having issues with is updating the variable in the skill box. In order for it to show, I have to select another skill, move back to the booster skill, and THEN it updates the boost count variable.
Am I missing something in the skill notebox that would update it without moving to another skill?
I made learnable skills for each character that uses JP to boost a stat, with increasing costs, and a max 'boost' count. The number of times the boost has been learnt is put in the skill text box("Stat has been boosted x times"). The skill works as intended; what I'm having issues with is updating the variable in the skill box. In order for it to show, I have to select another skill, move back to the booster skill, and THEN it updates the boost count variable.
Am I missing something in the skill notebox that would update it without moving to another skill?
<Learn Require Switch: 8>
<Learn Cost Eval>
user._paramPlus[6] += 1;
$gameVariables.setValue(89, $gameVariables.value(89) +1);
if ($gameVariables.value(89) < 30) {
user.forgetSkill(393);
}
user.refresh();
</Learn Cost Eval>
<Custom Learn JP Cost>
cost = Math.max(50,$gameVariables.value(89) * 100);
</Custom Learn JP Cost>
<Custom Cost Display>
\}Booster\{
</Custom Cost Display>
<Hide in Battle>
<Learn Cost Eval>
user._paramPlus[6] += 1;
$gameVariables.setValue(89, $gameVariables.value(89) +1);
if ($gameVariables.value(89) < 30) {
user.forgetSkill(393);
}
user.refresh();
</Learn Cost Eval>
<Custom Learn JP Cost>
cost = Math.max(50,$gameVariables.value(89) * 100);
</Custom Learn JP Cost>
<Custom Cost Display>
\}Booster\{
</Custom Cost Display>
<Hide in Battle>