return;
}
L2EnchantSkillLearn[] skills = SkillTreeTable.getInstance().getAvailableEnchantSkills(player);
ExEnchantSkillList esl = new ExEnchantSkillList();
int counts = 0;
for (L2EnchantSkillLearn s: skills)
{
L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());
if (sk == null) continue;
counts++;
esl.addSkill(s.getId(), s.getLevel(), s.getSpCost(), s.getExp());
}
if (counts == 0)
{
player.sendPacket(new SystemMessage(SystemMessageId.THERE_IS_NO_SKILL_THAT_ENABLES_ENCHANT));
NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());