Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.FinishRotating


  public void onStart()
  {
    super.onStart();

    getEffected().broadcastPacket(new StartRotating(getEffected(), getEffected().getHeading(), 1, 65535));
    getEffected().broadcastPacket(new FinishRotating(getEffected(), getEffector().getHeading(), 65535));
    getEffected().setHeading(getEffector().getHeading());
  }
View Full Code Here


  @Override
  public void onStart()
  {
    super.onStart();
    getEffected().broadcastPacket(new StartRotating(getEffected(), getEffected().getHeading(), 1, 65535));
    getEffected().broadcastPacket(new FinishRotating(getEffected(), getEffector().getHeading(), 65535));
    getEffected().setHeading(getEffector().getHeading());
    getEffected().sendPacket(new SystemMessage(SystemMessage.S1_S2S_EFFECT_CAN_BE_FELT).addSkillName(_displayId, _displayLevel));
    getEffected().startStunning();
  }
View Full Code Here

    L2Player activeChar = getClient().getActiveChar();
    if(activeChar == null)
    {
      return;
    }
    activeChar.broadcastPacket(new FinishRotating(activeChar, _degree, 0));
  }
View Full Code Here

      if(target != null && !target.isDead())
      {
        if(_turner && !target.isInvul())
        {
          target.broadcastPacket(new StartRotating(target, target.getHeading(), 1, 65535));
          target.broadcastPacket(new FinishRotating(target, activeChar.getHeading(), 65535));
          target.setHeading(activeChar.getHeading());
          target.sendPacket(new SystemMessage(SystemMessage.S1_S2S_EFFECT_CAN_BE_FELT).addSkillName(_displayId, _displayLevel));
        }
        if(target.checkReflectSkill(activeChar, this))
        {
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.FinishRotating

Copyright © 2018 www.massapicom. 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.