Package net.sf.l2j.gameserver.model.actor.instance

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.addSkill()


      catch (Exception e) {}
      if (skill != null)
      {
        String name = skill.getName();
        player.sendMessage("Admin gave you the skill "+name+".");
        player.addSkill(skill, true);
        //Admin information
        activeChar.sendMessage("You gave the skill "+name+" to "+player.getName()+".");
        if (Config.DEBUG)
          _log.fine("[GM]"+activeChar.getName()+" gave skill "+name+" to "+player.getName()+".");
        activeChar.sendSkillList();
View Full Code Here


      _log.warning("Recived Wrong Packet Data in Aquired Skill - unk1:"
          + _skillType);
      return;
    }

    player.addSkill(skill, true);

    if (Config.DEBUG)
      _log.fine("Learned skill " + _id + " for " + _requiredSp + " SP.");

    player.setSp(player.getSp() - _requiredSp);
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.