Package net.sf.l2j.gameserver.serverpackets

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


      if(state.equals("night"))
        packet = new SunSet();
      else if(state.equals("day"))
        packet = new SunRise();
      else if (state.equals("red"))
        packet = new ExRedSky(10);
    }
    else
      activeChar.sendMessage("Usage: //atmosphere <signsky dawn|dusk>|<sky day|night|red>");
    if(packet != null)
      for (L2PcInstance player : L2World.getInstance().getAllPlayers())
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);
      }
View Full Code Here

TOP

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

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.