Examples of AutoAttackStart


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

        break;
      case 0x24:
        pa = new TargetUnselected();
        break;
      case 0x25:
        pa = new AutoAttackStart();
        break;
      case 0x26:
        pa = new AutoAttackStop();
        break;
      case 0x27:
View Full Code Here

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

      return;
    }
    if (!isAutoAttacking())
    {
      if (_actor instanceof L2PcInstance && ((L2PcInstance)_actor).getPet() != null)
        ((L2PcInstance)_actor).getPet().broadcastPacket(new AutoAttackStart(((L2PcInstance)_actor).getPet().getObjectId()));
      // Send a Server->Client packet AutoAttackStart to the actor and all L2PcInstance in its _knownPlayers
      _actor.broadcastPacket(new AutoAttackStart(_actor.getObjectId()));
      setAutoAttacking(true);
    }
    AttackStanceTaskManager.getInstance().addAttackStanceTask(_actor);
  }
View Full Code Here

Examples of l2p.gameserver.serverpackets.AutoAttackStart

    {
      _stanceTask.cancel(false);
    }
    else
    {
      broadcastPacket(new AutoAttackStart(getObjectId()));
    }
    _stanceTask = ThreadPoolManager.getInstance().scheduleAi(new CancelAttackStanceTask(this), 15000, isPlayable());
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.AutoAttackStart

      list.add(new CharInfo(this));
      list.add(RelationChanged.update(forPlayer, this, forPlayer));
    }
    if (isInCombat())
    {
      list.add(new AutoAttackStart(getObjectId()));
    }
    if (isMoving || isFollow)
    {
      list.add(movePacket());
    }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.AutoAttackStart

    {
      _stanceEndTime = System.currentTimeMillis() + 15000L;
      return;
    }
    _stanceEndTime = System.currentTimeMillis() + 15000L;
    broadcastPacket(new AutoAttackStart(getObjectId()));
    final Future<?> task = _stanceTask;
    if (task != null)
    {
      task.cancel(false);
    }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.AutoAttackStart

      }
      list.add(RelationChanged.update(forPlayer, this, forPlayer));
    }
    if (isInCombat())
    {
      list.add(new AutoAttackStart(getObjectId()));
    }
    if (isMoving || isFollow)
    {
      list.add(movePacket());
    }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.AutoAttackStart

    {
      return Collections.<L2GameServerPacket> singletonList(new CharInfo(this));
    }
    List<L2GameServerPacket> list = new ArrayList<>(2);
    list.add(new CharInfo(this));
    list.add(new AutoAttackStart(objectId));
    return list;
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.AutoAttackStart

  {
    List<L2GameServerPacket> list = new ArrayList<L2GameServerPacket>(3);
    list.add(new NpcInfo(this, forPlayer));
    if (isInCombat())
    {
      list.add(new AutoAttackStart(getObjectId()));
    }
    if (isMoving || isFollow)
    {
      list.add(movePacket());
    }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.AutoAttackStart

        list.add(new MagicSkillUse(this, castingTarget, castingSkill.getId(), castingSkill.getLevel(), (int) (animationEndTime - System.currentTimeMillis()), 0L, isDoubleCastingNow()));
      }
    }
    if (isInCombat())
    {
      list.add(new AutoAttackStart(getObjectId()));
    }
    list.add(RelationChanged.update(forPlayer, this, forPlayer));
    if (isInBoat())
    {
      list.add(getBoat().getOnPacket(this, getInBoatPosition()));
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.AutoAttackStart

    public void clientStartAutoAttack()
    {
        if (!isAutoAttacking())
        {
            // Send a Server->Client packet AutoAttackStart to the actor and all L2PcInstance in its _knownPlayers
            _actor.broadcastPacket(new AutoAttackStart(_actor.getObjectId()));
            setAutoAttacking(true);
        }
        AttackStanceTaskManager.getInstance().addAttackStanceTask(_actor);
    }
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.