Examples of abortCast()


Examples of com.l2jfrozen.gameserver.model.L2Character.abortCast()

    {
      if (_unselect == 0)
      {
        if (activeChar.isCastingNow() && activeChar.canAbortCast())
        {
          activeChar.abortCast();
        }
        else if (activeChar.getTarget() != null)
        {
          activeChar.setTarget(null);
        }
View Full Code Here

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

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

    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

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

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

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

                {
                  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

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

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

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

    }

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

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

      if(item.getItemId() == 6408)
      {
        owner.setIsWearingFormalWear(true);
        if(owner.isCastingNow())
        {
          owner.abortCast();
        }
        if(owner.isAttackingNow())
        {
          owner.abortAttack();
        }
View Full Code Here

Examples of l2p.gameserver.model.L2Character.abortCast()

    {
      actor.abortAttack(true, true);
    }
    if(actor.isCastingNow() && getAttackTarget() == object)
    {
      actor.abortCast(true);
    }
    if(getAttackTarget() == object)
    {
      setAttackTarget(null);
    }
View Full Code Here

Examples of l2p.gameserver.model.L2Character.abortCast()

  {
    L2Character actor = getActor();
    if(actor != null)
    {
      actor.abortAttack(true, true);
      actor.abortCast(true);
      actor.stopMove();
      actor.broadcastPacket(new Die(actor));
    }
    setIntention(CtrlIntention.AI_INTENTION_IDLE);
  }
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.