Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.Skill.canTeachBy()


    final AcquireSkillList asl = new AcquireSkillList(AcquireType.NORMAL, skills.size());
    int counts = 0;
    for (SkillLearn s : skills)
    {
      Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());
      if ((sk == null) || !sk.getCanLearn(player.getClassId()) || !sk.canTeachBy(npcId))
      {
        continue;
      }
      counts++;
      asl.addSkill(s.getId(), s.getLevel(), s.getLevel(), s.getCost(), 0);
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.