Examples of unSummon()


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

                for (L2Effect e : summon.getAllEffects())
                  if (e != null)
                    e.exit();

                if (summon instanceof L2PetInstance)
                  summon.unSummon(player);
              }
            }

            if (Config.RAID_ON_START_REMOVE_ALL_EFFECTS)
            {
View Full Code Here

Examples of l2p.gameserver.model.L2Summon.unSummon()

      if(player.getPet() != null)
      {
        L2Summon summon = player.getPet();
        if(summon.isPet())
        {
          summon.unSummon();
        }
        else
        {
          summon.getEffectList().stopAllEffects();
        }
View Full Code Here

Examples of l2p.gameserver.model.L2Summon.unSummon()

    {
      return;
    }
    if(pet.isPet() || !onlyPets)
    {
      pet.unSummon();
    }
  }

  public static L2NpcInstance spawn(Location loc, int npcId)
  {
View Full Code Here

Examples of l2p.gameserver.model.L2Summon.unSummon()

      }
      DatabaseUtils.closeDatabaseSR(statement, rset);
      L2Summon summon = owner.getPet();
      if(summon != null && summon.getObjectId() == petObjectId)
      {
        summon.unSummon();
      }
      L2Player player = owner.getPlayer();
      if(player != null && player.isMounted() && player.getMountObjId() == petObjectId)
      {
        player.setMount(0, 0, 0);
View Full Code Here

Examples of l2p.gameserver.model.L2Summon.unSummon()

        return;
      }
      L2Summon summon = owner.getPet();
      if(summon != null && summon.getObjectId() == petObjectId)
      {
        summon.unSummon();
      }
      L2Player player = owner.getPlayer();
      if(player != null && player.isMounted() && player.getMountObjId() == petObjectId)
      {
        player.setMount(0, 0, 0);
View Full Code Here

Examples of l2p.gameserver.model.L2Summon.unSummon()

        if(pet.isPet() && pet.getCurrentFed() < 0.55 * pet.getMaxFed())
        {
          activeChar.sendPacket(Msg.YOU_CANNOT_RESTORE_HUNGRY_PETS, Msg.ActionFail);
          break;
        }
        pet.unSummon();
        break;
      case 38: // Mount
        if(activeChar.getTransformation() != 0)
        {
          activeChar.sendPacket(Msg.YOU_CANNOT_MOUNT_BECAUSE_YOU_DO_NOT_MEET_THE_REQUIREMENTS);
View Full Code Here

Examples of l2p.gameserver.model.L2Summon.unSummon()

        }
        else
        {
          activeChar.getEffectList().stopEffect(L2Skill.SKILL_EVENT_TIMER);
          activeChar.setMount(pet.getTemplate().npcId, pet.getObjectId(), pet.getLevel());
          pet.unSummon();
        }
        break;
      case 52: // Отзыв саммона
        if(pet.isInCombat())
        {
View Full Code Here

Examples of l2p.gameserver.model.L2Summon.unSummon()

        {
          activeChar.sendPacket(Msg.A_PET_CANNOT_BE_SENT_BACK_DURING_BATTLE, Msg.ActionFail);
        }
        else
        {
          pet.unSummon();
        }
        break;
      case 53:
      case 54: // Передвинуть пета к цели
        if(target != null && pet != target && !pet.isMovementDisabled())
View Full Code Here

Examples of lineage2.gameserver.model.instances.SummonInstance.unSummon()

    for (HardReference<SummonInstance> ref : _siegeSummons)
    {
      SummonInstance summon = ref.get();
      if (summon != null)
      {
        summon.unSummon();
      }
    }
    _siegeSummons.clear();
  }
}
View Full Code Here

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

      return;

    L2Summon summon = _playerInstance.getPet();

    if (summon != null)
      summon.unSummon(_playerInstance);

    for (L2Effect effect : _playerInstance.getAllEffects())
    {
      if (effect != null)
        effect.exit();
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.