Examples of updateEffectIcons()


Examples of com.l2jfrozen.gameserver.model.L2Summon.updateEffectIcons()

          {
            _activeChar.sendPacket(new NpcInfo(summon, _activeChar));
          }

          // The PetInfo packet wipes the PartySpelled (list of active spells' icons).  Re-add them
          summon.updateEffectIcons(true);
        }
        else if(object instanceof L2PcInstance)
        {
          L2PcInstance otherPlayer = (L2PcInstance) object;
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2Summon.updateEffectIcons()

    pet.setName(_name);
    pet.broadcastPacket(new NpcInfo(pet, activeChar));
    activeChar.sendPacket(new PetInfo(pet));
    // The PetInfo packet wipes the PartySpelled (list of active spells' icons).  Re-add them
    pet.updateEffectIcons(true);

    // set the flag on the control item to say that the pet has a name
    if(pet instanceof L2PetInstance)
    {
      L2ItemInstance controlItem = pet.getOwner().getInventory().getItemByObjectId(pet.getControlItemId());
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2Summon.updateEffectIcons()

        // Check if the L2PcInstance is the owner of the Pet
        if(active_char.equals(summon.getOwner()))
        {
          active_char.sendPacket(new PetInfo(summon));
          // The PetInfo packet wipes the PartySpelled (list of active  spells' icons).  Re-add them
          summon.updateEffectIcons(true);

          if(summon instanceof L2PetInstance)
          {
            active_char.sendPacket(new PetItemList((L2PetInstance) summon));
          }
View Full Code Here

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

    {
      sendPacket(new ConfirmDlg(SystemMessage.S1_IS_MAKING_AN_ATTEMPT_AT_RESURRECTION_WITH_$S2_EXPERIENCE_POINTS_DO_YOU_WANT_TO_CONTINUE_WITH_THIS_RESURRECTION, 0, 2).addString("Other player").addString("some"));
    }
    if(!first)
    {
      activeChar.updateEffectIcons();
      if(activeChar.getCurrentRegion() != null)
      {
        for(L2WorldRegion neighbor : activeChar.getCurrentRegion().getNeighbors())
        {
          neighbor.showObjectsToPlayer(activeChar);
View Full Code Here

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

          break;
        }
        if(activeChar.isFakeDeath())
        {
          activeChar.breakFakeDeath();
          activeChar.updateEffectIcons();
        }
        else if(activeChar.isSitting())
        {
          activeChar.standUp();
        }
View Full Code Here

Examples of lineage2.gameserver.model.Player.updateEffectIcons()

    }
    else
    {
      activeChar.sendUserInfo();
    }
    activeChar.updateEffectIcons();
    activeChar.setCurrentHpMp(activeChar.getActiveSubClass().getlogOnHp(),activeChar.getActiveSubClass().getlogOnMp());
    activeChar.setCurrentCp(activeChar.getActiveSubClass().getlogOnCp());
    activeChar.updateStats();   
    if (Config.ALT_PCBANG_POINTS_ENABLED)
    {
View Full Code Here

Examples of lineage2.gameserver.model.Player.updateEffectIcons()

              break;
            }
            if (activeChar.isFakeDeath())
            {
              activeChar.breakFakeDeath();
              activeChar.updateEffectIcons();
              break;
            }
            if (!activeChar.isSitting())
            {
              if ((target != null) && (target instanceof StaticObjectInstance) && (((StaticObjectInstance) target).getType() == 1) && (activeChar.getDistance3D(target) <= Creature.INTERACTION_DISTANCE))
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Summon.updateEffectIcons()

                // Check if the L2PcInstance is the owner of the Pet
                if (getActiveChar().equals(summon.getOwner()))
                {
                    getActiveChar().sendPacket(new PetInfo(summon));
                    // The PetInfo packet wipes the PartySpelled (list of active  spells' icons).  Re-add them
                    summon.updateEffectIcons(true);
                    if (summon instanceof L2PetInstance)
                    {
                        getActiveChar().sendPacket(new PetItemList((L2PetInstance) summon));
                    }
                }
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Summon.updateEffectIcons()

    pet.setName(_name);
    pet.broadcastPacket(new NpcInfo(pet, activeChar));
    activeChar.sendPacket(new PetInfo(pet));
    // The PetInfo packet wipes the PartySpelled (list of active spells' icons).  Re-add them
    pet.updateEffectIcons(true);

    // set the flag on the control item to say that the pet has a name
    if (pet instanceof L2PetInstance)
    {
      L2ItemInstance controlItem = pet.getOwner().getInventory().getItemByObjectId(pet.getControlItemId());
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Summon.updateEffectIcons()

          }
          else
            _activeChar.sendPacket(new NpcInfo(summon, _activeChar));

          // The PetInfo packet wipes the PartySpelled (list of active spells' icons).  Re-add them
          summon.updateEffectIcons(true);
        }
               else if (object instanceof L2PcInstance)
        {
          L2PcInstance otherPlayer = (L2PcInstance) object;
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.