Package net.sf.l2j.gameserver.templates

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


          {
            _log.warning("NPCTable: Error getting NPC template ID " + npcId + " while trying to load skill trainer data.");
            continue;
          }

          npc.addTeachInfo(ClassId.values()[classId]);
        }

        learndata.close();
        statement3.close();
      }
View Full Code Here


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

      if (classIds != null)
        for (ClassId classId : classIds)
          created.addTeachInfo(classId);

      for (L2MinionData minion : minions)
        created.addRaidData(minion);
    }
    catch (Exception e)
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.