Examples of addTeachInfo()


Examples of com.l2jfrozen.gameserver.templates.L2NpcTemplate.addTeachInfo()

          if(classId >= ClassId.values().length){
            _log.warning("NPCTable: Error defining learning data for NPC "+npcId+": specified classId "+classId+" is higher then max one "+(ClassId.values().length-1)+" specified into ClassID Enum --> check your Database to be complient with it"+" "+ classId);
            continue;
          }

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

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

Examples of com.l2jfrozen.gameserver.templates.L2NpcTemplate.addTeachInfo()

        created.addSkill(skill);
      }
     
      for (ClassId classId : classIds)
      {
        created.addTeachInfo(classId);
      }
     
      for (L2MinionData minion : minions)
      {
        created.addRaidData(minion);
View Full Code Here

Examples of l2p.gameserver.templates.L2NpcTemplate.addTeachInfo()

        L2NpcTemplate npcDat;
        int cnt = 0;
        while(rs.next())
        {
          npcDat = _npcs[rs.getInt(1)];
          npcDat.addTeachInfo(ClassId.values()[rs.getInt(2)]);
          cnt++;
        }
        _log.info("NpcTable: Loaded " + cnt + " SkillLearn entrys.");
      }
      catch(Exception e)
View Full Code Here

Examples of l2p.gameserver.templates.L2NpcTemplate.addTeachInfo()

       */
      if(classIds != null)
      {
        for(ClassId classId : classIds)
        {
          created.addTeachInfo(classId);
        }
      }
      for(L2MinionData minion : minions)
      {
        created.addRaidData(minion);
View Full Code Here

Examples of lineage2.gameserver.templates.npc.NpcTemplate.addTeachInfo()

        {
          for (Iterator<org.dom4j.Element> nextIterator = secondElement.elementIterator(); nextIterator.hasNext();)
          {
            org.dom4j.Element nextElement = nextIterator.next();
            int id = Integer.parseInt(nextElement.attributeValue("id"));
            template.addTeachInfo(ClassId.VALUES[id]);
          }
        }
        else if (nodeName.equalsIgnoreCase("absorblist"))
        {
          for (Iterator<org.dom4j.Element> nextIterator = secondElement.elementIterator(); nextIterator.hasNext();)
View Full Code Here

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

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

      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.