Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.Earthquake


          case 18:
            weakScarlet = spawn(scarletSpawnWeak);
            block(weakScarlet, true);
            weakScarlet.getListenerEngine().addPropertyChangeListener(PropertyCollection.HitPoints, _currentHpListener);
            weakScarlet.doCast(SkillTable.getInstance().getInfo(5004, 1), null, false);
            Earthquake eq = new Earthquake(weakScarlet.getLoc(), 50, 6);
            for(L2Player pc : getPlayersInside())
            {
              pc.broadcastPacket(eq);
            }
            showSocialActionMovie(weakScarlet, 1000, 160, 20, 6000, 6000, 0);
View Full Code Here


      baium = _baium;
    }

    public void run()
    {
      Earthquake eq = new Earthquake(baium.getLoc(), 40, 5);
      baium.broadcastPacket(eq);
    }
View Full Code Here

      case admin_earthquake:
        try
        {
          int intensity = Integer.parseInt(wordList[1]);
          int duration = Integer.parseInt(wordList[2]);
          activeChar.broadcastPacket(new Earthquake(activeChar.getLoc(), intensity, duration));
        }
        catch(Exception e)
        {
          activeChar.sendMessage("USAGE: //earthquake intensity duration");
          return false;
View Full Code Here

    }
    // Пора устроить землятрясение
    if(_wait_timeout < System.currentTimeMillis())
    {
      _wait_timeout = System.currentTimeMillis() + BAIUM_EARTHQUAKE_TIMEOUT;
      L2GameServerPacket eq = new Earthquake(actor.getLoc(), 40, 10);
      for(L2WorldRegion region : L2World.getNeighborsZ(actor.getX(), actor.getY(), -5000, 10000))
      {
        if(region != null && region.getObjectsSize() > 0)
        {
          for(L2Player player : region.getPlayersList(new GArray<L2Player>(50), actor.getObjectId(), actor.getReflection()))
View Full Code Here

        _item.dropToTheGround(killer, attackable);
        _loc = _item.getLoc();
        _item.setDropTime(0);
        // RedSky and Earthquake
        L2GameServerPacket redSky = new ExRedSky(10);
        L2GameServerPacket eq = new Earthquake(killer.getLoc(), 30, 12);
        for(L2Player aPlayer : L2ObjectsStorage.getAllPlayersForIterate())
        {
          aPlayer.sendPacket(redSky, eq);
        }
      }
View Full Code Here

    oldItem.setDropTime(0);
    _item = oldItem;
    player.sendPacket(new SystemMessage(SystemMessage.YOU_HAVE_DROPPED_S1).addItemName(oldItem.getItemId()));
    player.refreshExpertisePenalty();
    player.broadcastUserInfo(true);
    player.broadcastPacket(new Earthquake(player.getLoc(), 30, 12));
    return true;
  }
View Full Code Here

TOP

Related Classes of l2p.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.