Link JP on all classes(YF_JobPoints + YF_ClassChangeCore)

I'm trying to make all JPs to be the same on each actor when using different classes, is there anyway to do this?


Basically, if l have the classes 1,2 and 3, all 3 should start with 20 JP, if l learn a skill from class 1 for 5 JP all 3 classes should have 15 JP left.


Also, I got a problem related to JP as well. Before for a single class, l was using


<Learn Cost Eval>


user.loseJp(999);


user.gainJp(user.level * 2);


user.forgetSkill(all);


</Learn Cost Eval>


to unlearn all skills and get back the JP used. It was working fine but now if some skills were learned by default, they won't get unlearned. Probably another Yanfly bug though since the skills l do learn get unlearned just fine.
The plugin was made to simulate how Job Points are handed in Final Fantasy games.
Oh shei...i didn't noticed it was posted on the plugin request section :c



Well, to solve the unlearn part try to give the skills via events, it may solve this.
If i got this right the engine understands that those skill are "traits" and therefore they shouldn't be removed through this process.
Good solution, I'll do that instead for the learning bit.
3 days
3 days


Closed, found a way using multiple multiple script calls to lose JP on all classes
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/link-jp-on-all-classes-yf_jobpoints-yf_classchangecore.67262/