Examples of refreshExpertisePenalty()


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

      L2Item it = item.getItem();
      if(it instanceof L2Weapon)
      {         
        // Check for Penality
        player.refreshExpertisePenalty();
        player.refreshMasteryWeapPenality();
        // If player get penality he will not recive SA bonus like retail
        if (player.getExpertisePenalty() == 0)
                { 
          // Passive skills from Weapon (SA)
View Full Code Here

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

        }
      }
      else if(it instanceof L2Armor)
      {
        // Check for Penality
        player.refreshExpertisePenalty();
        player.refreshMasteryPenality();
        // Passive skills from Armor
        passiveSkill = ((L2Armor) it).getSkill();
      }
View Full Code Here

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

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

      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

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

        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

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

        }
        else
        {
          activeChar.sendPacket(EnchantResult.FAILED_NO_CRYSTALS);
        }
        activeChar.refreshExpertisePenalty();
      }
    }
    activeChar.refreshOverloaded();
    activeChar.setEnchantScroll(null);
    activeChar.sendChanges();
View Full Code Here

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

                // Consume mana - will start a task if required; returns if item is not a shadow item
                item.decreaseMana(false);
                }
                sm = null;

                activeChar.refreshExpertisePenalty();

        if (item.getItem().getType2() == L2Item.TYPE2_WEAPON)
          activeChar.checkIfWeaponIsAllowed();

        InventoryUpdate iu = new InventoryUpdate();
View Full Code Here

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

      // preinit some values for each login
      character.setRunning()// running is default
      character.standUp();    // standing is default

      character.refreshOverloaded();
      character.refreshExpertisePenalty();
      character.sendPacket(new UserInfo(character));
      character.broadcastKarma();
            character.setOnlineStatus(true);
    }
    else
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.