Package net.sf.l2j.gameserver.templates

Examples of net.sf.l2j.gameserver.templates.L2NpcTemplate.addSkill()


          npcSkill = SkillTable.getInstance().getInfo(skillId, level);

          if (npcSkill == null)
            continue;

          npcDat.addSkill(npcSkill);
        }

        npcskills.close();
        statement.close();
      }
View Full Code Here


      // restore additional data from saved copy
      L2NpcTemplate created = getTemplate(id);

      for (L2Skill skill : skills.values())
        created.addSkill(skill);

      if (classIds != null)
        for (ClassId classId : classIds)
          created.addTeachInfo(classId);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.