So I am using YED_SkillShop so that the player in my game has to purchase magic. I am also having magic divided via class and the player can pick their own class. The problem though is that the skill shop tends to display not only skills you've already learned, but skills of other classes you can't learn as well.
Script itself: https://github.com/suppayami/yami-engine-delta/blob/master/build/SkillShop/YED_SkillShop.js
Script itself: https://github.com/suppayami/yami-engine-delta/blob/master/build/SkillShop/YED_SkillShop.js