return;
}
L2SkillLearn[] skills = SkillTreeTable.getInstance().getAvailableSkills(player, classId);
AquireSkillList asl = new AquireSkillList(AquireSkillList.skillType.Usual);
int counts = 0;
for (L2SkillLearn s: skills)
{
L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());
if (sk == null || !sk.getCanLearn(player.getClassId()) || !sk.canTeachBy(npcId))
continue;
int cost = SkillTreeTable.getInstance().getSkillCost(player, sk);
counts++;
asl.addSkill(s.getId(), s.getLevel(), s.getLevel(), cost, 0);
}
if (counts == 0)
{
int minlevel = SkillTreeTable.getInstance().getMinLevelForNewSkill(player, classId);