Examples of stopMove()


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

    if(activeChar.isMoving() && activeChar.isAttackingNow() && (_slot == L2Item.SLOT_LR_HAND || _slot == L2Item.SLOT_L_HAND || _slot == L2Item.SLOT_R_HAND))
    {
      L2Object target = activeChar.getTarget();
      activeChar.setTarget(null);
      activeChar.stopMove(null);
      activeChar.setTarget(target);
      activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK);
    }

    // Remove augmentation bonus
View Full Code Here

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

     
      if (activeChar.isMoving() && activeChar.isAttackingNow() && (bodyPart == L2Item.SLOT_LR_HAND || bodyPart == L2Item.SLOT_L_HAND || bodyPart == L2Item.SLOT_R_HAND))
      {
        L2Object target = activeChar.getTarget();
        activeChar.setTarget(null);
        activeChar.stopMove(null);
        activeChar.setTarget(target);
        activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK);
      }
     
      // Don't allow to put formal wear
View Full Code Here

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

    L2Character actor = getActor();
    if(actor == null)
    {
      return;
    }
    actor.stopMove(validate);
  }

  /**
   * Останавливает движение и рассылает ValidateLocation
   */
 
View Full Code Here

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

    L2Character actor = getActor();
    if(actor == null)
    {
      return;
    }
    actor.stopMove();
  }

  public L2Character getActor()
  {
    return L2ObjectsStorage.getAsCharacter(_actor);
View Full Code Here

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

      Location loc = ((L2Player) actor).getLastServerPosition();
      if(loc != null)
      {
        actor.setLoc(loc, true);
      }
      actor.stopMove();
    }
    onEvtThink();
  }

  @Override
View Full Code Here

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

    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

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

      activeChar.setVehicle(null);
      activeChar.setLastClientPosition(null);
      activeChar.setLastServerPosition(null);
      activeChar.setLoc(_targetLoc.changeZ(64).correctGeoZ());
      activeChar.validateLocation(1);
      activeChar.stopMove(false);
      activeChar.sendActionFailed();
      return;
    }
    ThreadPoolManager.getInstance().executePathfind(new StartMoveTask(activeChar, _targetLoc, _moveMovement != 0));
  }
View Full Code Here

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

      return;
   
    if (!check(player, item))
      return;
   
    player.stopMove();
    player.block();
    player.broadcastPacket(new MagicSkillUse(player, player, _skillId, 1, 5000, 600000));
    player.sendPacket(Msg.SUMMON_A_PET);
    // continue execution in 5 seconds
    ThreadPoolManager.getInstance().scheduleAi(new SummonFinalizer(player, item), 5000, true);
View Full Code Here

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

  {
    super.onStart();
    L2Player player = (L2Player) _effected;
    if(player.isMoving)
    {
      player.stopMove();
    }
      player.sitDown();
      player.setRelax(true);
  }
View Full Code Here

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

    L2AirShip boat = (L2AirShip) L2VehicleManager.getInstance().getBoat(_shipId);
    if(boat == null)
    {
      return;
    }
    activeChar.stopMove();
    activeChar.setVehicle(boat);
    activeChar.setInVehiclePosition(loc);
    activeChar.setLoc(boat.getLoc());
    activeChar.broadcastPacket(new ExGetOnAirShip(activeChar, boat, loc));
  }
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.