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
showLearnSkill is a custom function in the plugin
Based on what I saw
www.yanfly.moe
www.yanfly.moe
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().showLearnSkillshowLearnSkill 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);
}
};