Examples of removeSkill()


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

    {
      if (activeChar.getTarget() instanceof L2PcInstance)
      {
        L2PcInstance player = (L2PcInstance)activeChar.getTarget();
        for (L2Skill skill : player.getAllSkills())
          player.removeSkill(skill);
        activeChar.sendMessage("You removed all skills from " + player.getName());
        player.sendMessage("Admin removed all skills from you.");
        player.sendSkillList();
      }
    }
View Full Code Here

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

      activeChar.sendMessage("You must get the skills of someone in order to do this.");
    else
    {
      L2Skill[] skills = player.getAllSkills();
      for (int i=0;i<skills.length;i++)
        player.removeSkill(skills[i]);
      for (int i=0;i<activeChar.getAllSkills().length;i++)
        player.addSkill(activeChar.getAllSkills()[i], true);
      for (int i=0;i<skills.length;i++)
        activeChar.removeSkill(skills[i]);
      for (int i=0;i<adminSkills.length;i++)
View Full Code Here

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

    L2Skill skill = SkillTable.getInstance().getInfo(idval,player.getSkillLevel(idval));
    if (skill != null)
    {
      String skillname = skill.getName();
      player.sendMessage("Admin removed the skill "+skillname+" from your skills list.");
      player.removeSkill(skill);
      //Admin information 
      activeChar.sendMessage("You removed the skill "+skillname+" from "+player.getName()+".");
      if (Config.DEBUG)
        _log.fine("[GM]"+activeChar.getName()+" removed skill "+skillname+" from "+player.getName()+".");
      activeChar.sendSkillList();
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.