Cythera

Veteran
Veteran
Joined
Jul 31, 2019
Messages
261
Reaction score
580
First Language
English
Primarily Uses
RMMV
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?

<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>
 

Latest Threads

Latest Posts

Latest Profile Posts

Too bad the Boss Battle Build Bout isn't also for VXAce.
I might not participate in the Boss Battle contest after all... I have more important things to do, like Wishful Wanda. And of course the Dark Deception spinoff I plan to pitch, Demon Slayer.
Changed my avatar, goodbye Alan Sugar, hello George Carlin (one of my favorite human beings ever)
If you still don't subscribe our Polish channel please consider it :)
1.png
Who wants to see my review of the worst star wars movie? This movie has all the excitement of being on Jury Duty of the most boring case ever about trade negotiations.

Forum statistics

Threads
115,171
Messages
1,087,809
Members
149,723
Latest member
krinalle
Top