Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.SkillList$Skill


   * 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);
  }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.SkillList$Skill

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.