Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeSkill()


       
        // remove cupid's bow skills on unequip
        if (item.isCupidBow())
        {
          if (item.getItemId() == 9140)
            activeChar.removeSkill(SkillTable.getInstance().getInfo(3261, 1));
          else
          {
            activeChar.removeSkill(SkillTable.getInstance().getInfo(3260, 0));
            activeChar.removeSkill(SkillTable.getInstance().getInfo(3262, 0));
          }
View Full Code Here


        {
          if (item.getItemId() == 9140)
            activeChar.removeSkill(SkillTable.getInstance().getInfo(3261, 1));
          else
          {
            activeChar.removeSkill(SkillTable.getInstance().getInfo(3260, 0));
            activeChar.removeSkill(SkillTable.getInstance().getInfo(3262, 0));
          }
        }
       
        items = activeChar.getInventory().unEquipItemInBodySlotAndRecord(bodyPart);
View Full Code Here

          if (item.getItemId() == 9140)
            activeChar.removeSkill(SkillTable.getInstance().getInfo(3261, 1));
          else
          {
            activeChar.removeSkill(SkillTable.getInstance().getInfo(3260, 0));
            activeChar.removeSkill(SkillTable.getInstance().getInfo(3262, 0));
          }
        }
       
        items = activeChar.getInventory().unEquipItemInBodySlotAndRecord(bodyPart);
      }
View Full Code Here

            if(activeChar.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND) != null || activeChar.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LRHAND) != null)
            {
              if(activeChar.isFlying())
              {
                // Remove skill Wyvern Breath
                activeChar.removeSkill(SkillTable.getInstance().getInfo(4289, 1));
                activeChar.sendSkillList();
              }
             
              if(activeChar.setMountType(0))
              {
View Full Code Here

        else if(activeChar.isMounted())
        {
          if(activeChar.isFlying())
          {   
            // Remove skill Wyvern Breath
            activeChar.removeSkill(SkillTable.getInstance().getInfo(4289, 1));
            activeChar.sendSkillList();
          }
         
          if(activeChar.setMountType(0))
          {
View Full Code Here

            if (!target.isHero())
            {
             
              for (L2Skill skill : HeroSkillTable.getHeroSkills())
              {
                target.removeSkill(skill, false);
              }
              Hero.getInstance().deleteHero(target, false);
            }
            else
            {
View Full Code Here

           
          }

          if(player.isFlying())
          {
            player.removeSkill(SkillTable.getInstance().getInfo(4289, 1));
          }

          if(player.isAway())
          {
            AwayManager.getInstance().extraBack(player);
View Full Code Here

           
          }

          if(player.isFlying())
          {
            player.removeSkill(SkillTable.getInstance().getInfo(4289, 1));
          }

          if(player.isAway())
          {
            AwayManager.getInstance().extraBack(player);
View Full Code Here

      }

      // remove Clan skills from Player
      for(L2Skill skill : player.getClan().getAllSkills())
      {
        player.removeSkill(skill, false);
      }

      player.setClan(null);
      player.setClanJoinExpiryTime(clanJoinExpiryTime);
      player.setPledgeClass(exMember.calculatePledgeClass(player));
View Full Code Here

    }
   
    // Check if player are flying
    if(player.isFlying())
    {
      player.removeSkill(SkillTable.getInstance().getInfo(4289, 1));
    }
   
    if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND)!=null
        && player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND).isAugmented()){
      player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND).getAugmentation().removeBoni(player);
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.