Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.FlyToLocation


    {
      Location flyLoc = getFlyLocation(target, skill);
      if(flyLoc != null)
      {
        _flyLoc = flyLoc;
        broadcastPacket(new FlyToLocation(this, flyLoc, skill.getFlyType()));
      }
      else
      {
        sendPacket(Msg.CANNOT_SEE_TARGET);
        return;
View Full Code Here


        for(L2Character target : targets)
        {
          target.setHeading(this, false);
          flyLoc = getFlyLocation(null, skill);
          target.setLoc(flyLoc);
          broadcastPacket(new FlyToLocation(target, flyLoc, skill.getFlyType()));
        }
        break;
      case DUMMY:
      case CHARGE:
        flyLoc = _flyLoc;
View Full Code Here

          double radian = Math.toRadians(angle - 90);
          int x1 = -(int) (Math.sin(radian) * 600);
          int y1 = (int) (Math.cos(radian) * 600);
          Location flyLoc = GeoEngine.moveCheck(player.getX(), player.getY(), player.getZ(), player.getX() + x1, player.getY() + y1, player.getReflection().getGeoIndex());
          player.setLoc(flyLoc);
          player.broadcastPacket(new FlyToLocation(player, flyLoc, FlyType.THROW_HORIZONTAL));
        }
      }
      for(int i = 0; i < _crystaline.length; i++)
      {
        L2NpcInstance npc = _crystaline[i];
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.FlyToLocation

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.