Package net.sf.l2j.gameserver.serverpackets

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


      {
        String val1 = st.nextToken();
        int intensity = Integer.parseInt(val1);
        String val2 = st.nextToken();
        int duration = Integer.parseInt(val2);
        Earthquake eq = new Earthquake(activeChar.getX(), activeChar.getY(), activeChar.getZ(), intensity, duration);
        activeChar.broadcastPacket(eq);
      }
      catch (Exception e)
      {
        activeChar.sendMessage("Use: //earthquake <intensity> <duration>");
View Full Code Here


      _item = attackable.DropItem(player, _itemId, 1);
      _item.setDropTime(0); // Prevent item from being removed by ItemsAutoDestroy

      // RedSky and Earthquake
      ExRedSky packet = new ExRedSky(10);
      Earthquake eq = new Earthquake(player.getX(), player.getY(), player.getZ(), 14, 3);
      for (L2PcInstance aPlayer : L2World.getInstance().getAllPlayers()) {
        aPlayer.sendPacket(packet);
        aPlayer.sendPacket(eq);
      }
    } else
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.Earthquake

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.