* Send skill list.
* @param player the player
*/
public void sendSkillList(L2PcInstance player)
{
SkillList sl = new SkillList();
if (player != null)
{
for (L2Skill s : player.getAllSkills())
{
if (s == null)
{
continue;
}
if (s.getId() > 9000)
{
continue; // Fake skills to change base stats
}
sl.addSkill(s.getId(), s.getLevel(), s.isPassive());
}
}
sendPacket(sl);
}