RMMV Yanfly Class Change/Skills Learn (2 changes)

Hello!  again....


This is my second request, but this is only requiring 2 smalls edits. I would've tried to figure out myself, but since I'm unable to open .js files, I'm counting on you guys.


http://yanfly.moe/2015/11/27/yep-32-class-change-core/


This is all about this script. It lets you switch classes for your characther. Since this is a very awesome plugin, we can maintain the levels between each class. BUT, I need 2 things to be changed to be just what I need:


1: Give the option to maintain JP when changing of class.


2: Remove the Classes when learning skills using this script : https://www.dropbox.com/s/c5nn3gqsyzu71bu/YEP_SkillLearnSystem.js?dl=0


Can it be done? Hope so!!!


Thanks a lot! And have a good day.


EDIT: I edited my post to explain the 2 changes I need.
Do you really need to remove the classe trough a skill ?


Here's a code to change it trough a skill (bought, then, just  show in learned skill, nowhere else).


<Learn Cost Eval>


user.changeSubclass(8);


user.refresh();


</Learn Cost Eval>


Through the command module I know it's possible to remove original primary class.


Could you be more specific on your request ?


P.S. : I'll check what I can do for the JPs, worry not.
Sorry i cant only reply from tablet nowadays. I can't login in computer


I may have been unclear. What i meant for ''remove class" is when i click on skill learn, the class window pops up, and it also appear when you chose a skill to buy. I want to remove those windows.


I want to actually make a Variation system, like you can play a characther and you can change his play-style in the middle of a quest depending on your needs or on the players' preference.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-yanfly-class-change-skills-learn-2-changes.66228/