Package com.l2jfrozen.gameserver.model

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


    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

        // 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

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.