Examples of Earthquake


Examples of com.l2jfrozen.gameserver.network.serverpackets.Earthquake

  private void EnterGM(L2PcInstance activeChar)
  {
    if (activeChar.isGM())
    {
      if (Config.GM_SPECIAL_EFFECT)
        activeChar.broadcastPacket(new Earthquake(activeChar.getX(), activeChar.getY(), activeChar.getZ(), 50, 4));

      if (Config.SHOW_GM_LOGIN)
        Announcements.getInstance().announceToAll("GM " + activeChar.getName() + " has logged on.");

      if (Config.GM_STARTUP_INVULNERABLE && AdminCommandAccessRights.getInstance().hasAccess("admin_invul", activeChar.getAccessLevel()))
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.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);
        val1 = null;
        val2 = null;
      }
      catch(Exception e)
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.Earthquake

    long temp = 0;
    if (event.equalsIgnoreCase("waiting"))
    {
      startQuestTimer("close", 27000, npc, null);
      startQuestTimer("camera_1", 30000, npc, null);
      _Zone.broadcastPacket(new Earthquake(getXFix(174232), getYFix(-88020), getZFix(-5116), 45, 27));
    }
    else if (event.equalsIgnoreCase("room1_spawn"))
    {
      for (int i = 0; i <= 17; i++)
      {
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.Earthquake

          GrandBossManager.getInstance().setBossStatus(FRINTEZZA, WAITING);
          player.sendPacket(new CreatureSay(0, Say2.SHOUT, "Frintezza", "Intruders! You dare to enter my Kingdom! you shall suffer!"));
          //sm = new CreatureSay(0, Say2.SHOUT, "");
          startQuestTimer("close", 27000, npc, null);
          startQuestTimer("camera_1", 30000, npc, null);
          _Zone.broadcastPacket(new Earthquake(getXFix(174232), getYFix(-88020), getZFix(-5116), 45, 27));
         
          //startQuestTimer("close", 0, npc, null);
          //startQuestTimer("room1_spawn", 5000, npc, null);
          //startQuestTimer("room_final", 2100000, null, null);
          //startQuestTimer("frintezza_despawn", 60000, null, null, true);
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.Earthquake

      _KillHallAlarmDevice++;
      if (_KillHallAlarmDevice == 3) // Start quest
      {
        startQuestTimer("close", 27000, npc, null);
        startQuestTimer("camera_1", 30000, npc, null);
        _Zone.broadcastPacket(new Earthquake(getXFix(174232), getYFix(-88020), getZFix(-5116), 45, 27));
      }
      if (_KillHallAlarmDevice == 4)
      {
        startQuestTimer("room1_del", 100, npc, null);
        //startQuestTimer("room2_spawn", 100, npc, null);
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.Earthquake

        } else if (event.equalsIgnoreCase("clean_player")) {
            _target = getRandomTarget(npc);
        } else if (event.equalsIgnoreCase("baium_wakeup") && npc != null) {
            if (npc.getNpcId() == LIVE_BAIUM) {
                npc.broadcastPacket(new SocialAction(npc.getObjectId(), 1));
                npc.broadcastPacket(new Earthquake(npc.getX(), npc.getY(), npc.getZ(), 40, 5));
                // start monitoring baium's inactivity
                _LastAttackVsBaiumTime = System.currentTimeMillis();

                if (!npc.getSpawn().is_customBossInstance())
                    startQuestTimer("baium_despawn", 60000, npc, null, true);
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.Earthquake

    public void run()
    {
      GrandBossManager.getInstance().setBossStatus(_bossId,DORMANT);
      if (FWA_DOSERVEREARTHQUAKE)
        for(L2PcInstance p : L2World.getInstance().getAllPlayers())
          p.broadcastPacket(new Earthquake(185708,114298,-8221,20,10));
    }
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.Earthquake

      _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

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

Examples of l2p.gameserver.serverpackets.Earthquake

      baium = _baium;
    }

    public void run()
    {
      Earthquake eq = new Earthquake(baium.getLoc(), 40, 5);
      baium.broadcastPacket(eq);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.