Package com.l2jfrozen.gameserver.model.actor.instance

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


      return;
    }
   
    if (player.isCastingNow())
    {
      player.abortCast();
      player.sendPacket(new ActionFailed());
    }
   
    RegionBBSManager.getInstance().changeCommunityBoard();
    player.deleteMe();
View Full Code Here


    if(trade.isLocked())
      return;

    //abort cast anyway
    player.abortCast(true);
   
    if(player.isCastingNow() || player.isCastingPotionNow())
    {
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
View Full Code Here

                  {
                    player.setCurrentHp(0);
                    if (player.isInOlympiadMode())
                    {
                      player.abortAttack();
                      player.abortCast();
                      player.getStatus().stopHpMpRegeneration();
                    }
                    else
                      player.doDie(activeChar);
                  }
View Full Code Here

                {
                  player.setCurrentHp(0);
                  if (player.isInOlympiadMode())
                  {
                    player.abortAttack();
                    player.abortCast();
                    player.getStatus().stopHpMpRegeneration();
                    // player.setIsDead(true);
                    player.setIsPendingRevive(true);
                    if (player.getPet() != null)
                      player.getPet().getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE, null);
View Full Code Here

    }
   
    // Fix against exploit anti-target
    if (player.isCastingNow())
    {
      player.abortCast();
      player.sendPacket(new ActionFailed());
    }

    // Check if player is teleporting
    if(player.isTeleporting())
View Full Code Here

    }

    // Check if player is teleporting
    if(player.isTeleporting())
    {
      player.abortCast();
      player.setIsTeleporting(false);
    }

    // Check if player is trading
    if(player.getActiveRequester() != null)
View Full Code Here

      if(item.getItemId() == 6408)
      {
        owner.setIsWearingFormalWear(true);
        if(owner.isCastingNow())
        {
          owner.abortCast();
        }
        if(owner.isAttackingNow())
        {
          owner.abortAttack();
        }
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.