MV show only skills in the current class

Hi Guys

I am trying to make a custom job system that show only skills in current class. I used Skill Learn System (YEP) and Class Change Core (YEP). (see link below) tried and play around but still did not work. Can someone help me on this ? Thanks

$gameActors.actor(ID).currentClass().showLearnSkill

showLearnSkill is a custom function in the plugin

Based on what I saw
if (this.currentClass().learnSkills.contains(skill.id)) { if (this.jp(classId) >= jpCost) return true;} Window_SkillLearnCommand.prototype.makeCommandList = function() { if (!this._actor) return; this.addClassCommand(this._actor.currentClass().id); this._currentClass = this._actor.currentClass().id; if (!Imported.YEP_ClassChangeCore) return; for (var i = 0; i < this._actor.unlockedClasses().length; ++i) { classId = this._actor.unlockedClasses()[i]; if (classId === this._actor.currentClass().id) continue; if ($dataClasses[classId]) this.addClassCommand(classId); } };

It would help to know more about what's going wrong - what you expect to see and what you're actually seeing, as opposed to just "it didn't work."

If you only want to see skills for the current class, what is the purpose of all the code after checking for the YEP_ClassChangeCore?

Original thread: https://forums.rpgmakerweb.com/threads/show-only-skills-in-the-current-class.134238/