Examples of MyTargetSelected


Examples of com.l2client.network.game.ServerPackets.MyTargetSelected

        break;
      case 0xb7:
//        pa = new PetDelete();
        break;
      case 0xb9:
        pa = new MyTargetSelected();
        break;
      case 0xba:
//        pa = new PartyMemberPosition();
        break;
      case 0xbb:
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected

    // Set the target of the L2PcInstance player
    this.setTarget(trasformedNpc);
   
    // Send a Server->Client packet MyTargetSelected to the L2PcInstance player
    // The player.getLevel() - getLevel() permit to display the correct color in the select window
    MyTargetSelected my = new MyTargetSelected(trasformedNpc.getObjectId(), this.getLevel() - trasformedNpc.getLevel());
    this.sendPacket(my);
    my = null;
   
    // Send a Server->Client packet StatusUpdate of the L2NpcInstance to the L2PcInstance to update its HP bar
    StatusUpdate su = new StatusUpdate(trasformedNpc.getObjectId());
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected

    {
      // Set the target of the L2PcInstance player
      player.setTarget(this);

      // Send a Server->Client packet MyTargetSelected to the L2PcInstance player
      MyTargetSelected my = new MyTargetSelected(getObjectId(), 0);
      player.sendPacket(my);
      my = null;

      player.sendPacket(new ValidateLocation(this));
    }
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected

    {
      // Set the target of the L2PcInstance player
      player.setTarget(this);

      // Send a Server->Client packet MyTargetSelected to the L2PcInstance player
      MyTargetSelected my = new MyTargetSelected(getObjectId(), 0);
      player.sendPacket(my);

      // Send a Server->Client packet ValidateLocation to correct the L2NpcInstance position and heading on the client
      player.sendPacket(new ValidateLocation(this));
    }
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected

    {
      // Set the target of the L2PcInstance player
      player.setTarget(this);

      // Send a Server->Client packet MyTargetSelected to the L2PcInstance player
      MyTargetSelected my = new MyTargetSelected(getObjectId(), 0);
      player.sendPacket(my);
      my = null;

      // Send a Server->Client packet ValidateLocation to correct the L2NpcInstance position and heading on the client
      player.sendPacket(new ValidateLocation(this));
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected

  public void onAction(L2PcInstance player)
  {
      if (this != player.getTarget())
      {
          player.setTarget(this);
          player.sendPacket(new MyTargetSelected(getObjectId(), player.getLevel() - getLevel()));
          player.sendPacket(new ValidateLocation(this));
        }
        else if (isInsideRadius(player, INTERACTION_DISTANCE, false, false))
        {
          //SocialAction sa = new SocialAction(this, Rnd.get(8));
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected

    {
      // Set the target of the L2PcInstance player
      player.setTarget(this);

      // Send a Server->Client packet MyTargetSelected to the L2PcInstance player
      MyTargetSelected my = new MyTargetSelected(getObjectId(), player.getLevel() - getLevel());
      player.sendPacket(my);
      my = null;

      // Send a Server->Client packet StatusUpdate of the L2NpcInstance to the L2PcInstance to update its HP bar
      StatusUpdate su = new StatusUpdate(getObjectId());
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected

    {
      // Set the target of the L2PcInstance player
      player.setTarget(this);

      // Send a Server->Client packet MyTargetSelected to the L2PcInstance player
      MyTargetSelected my = new MyTargetSelected(getObjectId(), 0);
      player.sendPacket(my);
      my = null;

      // Send a Server->Client packet ValidateLocation to correct the L2NpcInstance position and heading on the client
      player.sendPacket(new ValidateLocation(this));
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected

    if(player.getAccessLevel().isGm())
    {
      player.setTarget(this);

      MyTargetSelected my = new MyTargetSelected(getObjectId(), player.getLevel() - getLevel());
      player.sendPacket(my);
      my = null;

      if(isAutoAttackable(player))
      {
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected

    {
      // Set the target of the L2PcInstance player
      player.setTarget(this);

      // Send a Server->Client packet MyTargetSelected to the L2PcInstance player
      MyTargetSelected my = new MyTargetSelected(getObjectId(), 0);
      player.sendPacket(my);
      my = null;

      player.sendPacket(new ValidateLocation(this));
    }
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.