Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2Skill.canTeachBy()


        for (L2EnchantSkillLearn s : skills)
        {
          L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());
          if (sk == null || sk != skill || !sk.getCanLearn(player.getClassId())
              || !sk.canTeachBy(npcid)) continue;
          counts++;
          _requiredSp = s.getSpCost();
          _requiredExp = s.getExp();
          _rate = s.getRate(player);
          _baseLvl = s.getBaseLevel();
View Full Code Here


    for (L2SkillLearn s: skills)
    {
      L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());

      if (sk == null || !sk.getCanLearn(player.getClassId()) || !sk.canTeachBy(npcId))
        continue;

      int cost = SkillTreeTable.getInstance().getSkillCost(player, sk);
      counts++;
View Full Code Here

      {
        L2Skill sk = SkillTable.getInstance().getInfo(s.getId(),
            s.getLevel());
        if (sk == null || sk != skill
            || !sk.getCanLearn(player.getSkillLearningClassId())
            || !sk.canTeachBy(npcid))
          continue;
        counts++;
        _requiredSp = SkillTreeTable.getInstance().getSkillCost(player,
            skill);
      }
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.