Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Player.refreshExpertisePenalty()


        uneq.setChargedSoulshot(L2ItemInstance.CHARGED_NONE);
        cha.abortAttack(true, true);
        cha.abortCast(true);
      }
    }
    cha.refreshExpertisePenalty();
    cha.broadcastUserInfo(true);
  }

  public L2ItemInstance unEquipItemInSlot(int pdollSlot)
  {
View Full Code Here


      L2ItemInstance wpn = player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND);
      if(wpn != null && wpn.isHeroWeapon())
      {
        player.getInventory().unEquipItem(wpn);
        player.abortAttack(true, true);
        player.refreshExpertisePenalty();
      }
      // remove bsps/sps/ss automation
      ConcurrentSkipListSet<Integer> activeSoulShots = player.getAutoSoulShot();
      for(int itemId : activeSoulShots)
      {
View Full Code Here

        else
        {
          sm = new SystemMessage(SystemMessage.YOU_HAVE_EQUIPPED_YOUR_S1).addItemName(itemId);
        }
        activeChar.sendPacket(sm);
        activeChar.refreshExpertisePenalty();
        if(item.getItem().getType2() == L2Item.TYPE2_ACCESSORY || item.getItem().isTalisman())
        {
          activeChar.sendUserInfo(true);
          // TODO убрать, починив предварительно отображение бижы
          activeChar.sendPacket(new ItemList(activeChar, false));
View Full Code Here

        }
        else
        {
          activeChar.sendPacket(EnchantResult.FAILED_NO_CRYSTALS);
        }
        activeChar.refreshExpertisePenalty();
      }
    }
    activeChar.refreshOverloaded();
    activeChar.setEnchantScroll(null);
    activeChar.sendChanges();
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.