Package lineage2.gameserver.model

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


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


  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

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

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

    {
      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

        if ((residence != null) && (player.getClan() != null) && (residence.getOwner() == player.getClan()))
        {
        }
        else
        {
          player.stopMove();
          player.sendPacket(SystemMsg.THIS_AREA_CANNOT_BE_ENTERED_WHILE_MOUNTED_ATOP_OF_A_WYVERN);
          player.setMount(0, 0, 0);
        }
      }
    }
View Full Code Here

  {
    super.onStart();
    Player player = _effected.getPlayer();
    if (player.isMoving)
    {
      player.stopMove();
    }
    _isWereSitting = player.isSitting();
    player.sitDown(null);
  }
 
View Full Code Here

        }
      }
    }
    if (mob != null)
    {
      actor.stopMove();
      actor.setRunning();
      getActor().getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, mob, 1);
      return true;
    }
    return false;
View Full Code Here

        }
      }
    }
    if (mob != null)
    {
      actor.stopMove();
      actor.setRunning();
      getActor().getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, mob, 1);
      return true;
    }
    return false;
View Full Code Here

        }
      }
    }
    if (mob != null)
    {
      actor.stopMove();
      actor.setRunning();
      getActor().getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, mob, 1);
      return true;
    }
    return false;
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.