Examples of stopMove()


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

            if(unit != null && player.getClan() != null && player.isClanLeader() && (player.getClan().getHasCastle() == unit.getId() || player.getClan().getHasFortress() == unit.getId()))
            {
              return;
            }
          }
          player.stopMove();
          player.sendPacket(Msg.THIS_AREA_CANNOT_BE_ENTERED_WHILE_MOUNTED_ATOP_OF_A_WYVERN_YOU_WILL_BE_DISMOUNTED_FROM_YOUR_WYVERN_IF_YOU_DO_NOT_LEAVE);
          Integer enterCount = (Integer) player.getProperty(PropertyCollection.ZoneEnteredNoLandingFlying);
          if(enterCount == null)
          {
            enterCount = 0;
View Full Code Here

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

    L2Ship boat = (L2Ship) L2VehicleManager.getInstance().getBoat(_id);
    if(boat == null)
    {
      return;
    }
    activeChar.stopMove();
    activeChar.setVehicle(boat);
    activeChar.setInVehiclePosition(loc);
    activeChar.setLoc(boat.getLoc());
    activeChar.broadcastPacket(new GetOnVehicle(activeChar, boat, loc));
  }
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.stopMove()

    else if(_brother.getCurrentHpPercents() > 20 && actor.getCurrentHp() - damage < actor.getMaxHp() / 10)
    {
      // Если у брата > 20% ХП, то невозможно опустить ХП ниже 10%
      actor.abortAttack(true, false);
      actor.abortCast(true);
      actor.stopMove();
      clearTasks();
      addTaskBuff(actor, SKILL_DEFEAT);
      addTaskBuff(actor, SKILL_ARISE);
      for(L2Playable playable : L2World.getAroundPlayables(actor))
      {
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.stopMove()

              doTask();
              step_stage2 = 2;
              return true;
            case 2:
              actor.setHeading(0);
              actor.stopMove();
              actor.broadcastPacketToOthers(new MagicSkillUse(actor, actor, 454, 1, 3000, 0));
              step_stage2 = 3;
              return true;
            case 3:
              actor.addStatFunc(new FuncMul(Stats.MAGIC_ATTACK_SPEED, 0x40, this, 5));
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.stopMove()

      L2WorldRegion region = npc.getCurrentRegion();
      L2CharacterAI ai = npc.getAI();
      if(ai instanceof DefaultAI && ai.isActive() && !ai.isGlobalAI() && (region == null || region.areNeighborsEmpty()))
      {
        npc.setTarget(null);
        npc.stopMove();
        npc.getAI().stopAITask();
      }
    }
    L2GameServerPacket result = (packet == null ? new DeleteObject(object) : packet);
    //if(object.isNpc)
View Full Code Here

Examples of lineage2.gameserver.model.Creature.stopMove()

      Location loc = ((Player) actor).getLastServerPosition();
      if (loc != null)
      {
        actor.setLoc(loc, true);
      }
      actor.stopMove();
    }
    onEvtThink();
  }
 
  /**
 
View Full Code Here

Examples of lineage2.gameserver.model.Creature.stopMove()

  protected void onEvtDead(Creature killer)
  {
    Creature actor = getActor();
    actor.abortAttack(true, true);
    actor.abortCast(true, true);
    actor.stopMove();
    actor.broadcastPacket(new Die(actor));
    setIntention(CtrlIntention.AI_INTENTION_IDLE);
  }
 
  /**
 
View Full Code Here

Examples of lineage2.gameserver.model.Creature.stopMove()

   * @param validate boolean
   */
  public void clientStopMoving(boolean validate)
  {
    Creature actor = getActor();
    actor.stopMove(validate);
  }
 
  /**
   * Method clientStopMoving.
   */
 
View Full Code Here

Examples of lineage2.gameserver.model.Creature.stopMove()

   * Method clientStopMoving.
   */
  public void clientStopMoving()
  {
    Creature actor = getActor();
    actor.stopMove();
  }
 
  /**
   * Method getActor.
   * @return Creature
View Full Code Here

Examples of lineage2.gameserver.model.Player.stopMove()

    {
      return;
    }
    player.abortAttack(true, true);
    player.abortCast(true, true);
    player.stopMove();
    if (_count > 0)
    {
      if (player.getInventory().destroyItemByItemId(8615, _count))
      {
        player.sendPacket(SystemMessage2.removeItems(8615, _count));
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.