Examples of addSkill()

  • net.sf.l2j.gameserver.serverpackets.AquireSkillList.addSkill()
  • net.sf.l2j.gameserver.serverpackets.ExEnchantSkillList.addSkill()
  • net.sf.l2j.gameserver.serverpackets.SkillList.addSkill()
  • net.sf.l2j.gameserver.templates.L2NpcTemplate.addSkill()

  • Examples of net.sf.l2j.gameserver.serverpackets.ExEnchantSkillList.addSkill()

            for (L2EnchantSkillLearn s: skills)
            {
                L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());
                if (sk == null) continue;
                counts++;
                esl.addSkill(s.getId(), s.getLevel(), s.getSpCost(), s.getExp());
            }
            if (counts == 0)
            {
                player.sendPacket(new SystemMessage(SystemMessageId.THERE_IS_NO_SKILL_THAT_ENABLES_ENCHANT));
                NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
    View Full Code Here

    Examples of net.sf.l2j.gameserver.serverpackets.SkillList.addSkill()

            }
            if (s.getId() > 9000)
            {
              continue; // Fake skills to change base stats
            }
            sl.addSkill(s.getId(), s.getLevel(), s.isPassive());
          }
        }
        sendPacket(sl);
      }
     
    View Full Code Here

    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

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

          // 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.