Package lineage2.gameserver.network.serverpackets

Examples of lineage2.gameserver.network.serverpackets.Revive


    super.onExit();
    Player player = (Player) getEffected();
    player.setNonAggroTime(System.currentTimeMillis() + 5000L);
    player.setFakeDeath(false);
    player.broadcastPacket(new ChangeWaitType(player, ChangeWaitType.WT_STOP_FAKEDEATH));
    player.broadcastPacket(new Revive(player));
    player.broadcastCharInfo();
  }
View Full Code Here


    for(Player tm : HardReferences.unwrap(bothTeams))
    {
      if(tm.isDead())
      {
        tm.setCurrentHp(tm.getMaxHp(), true);
        tm.broadcastPacket(new Revive(tm));
      }
      else
        tm.setCurrentHp(tm.getMaxHp(), false);

      tm.setCurrentMp(tm.getMaxMp());
View Full Code Here

    if(player.isDead())
    {
      //player.setCurrentCp(player.getMaxCp());
      player.setCurrentHp(0.7 * player.getMaxHp(), true);
      //player.setCurrentMp(player.getMaxMp());
      player.broadcastPacket(new Revive(player));
    }
    player.altOnMagicUseTimer(player, SkillTable.getInstance().getInfo(5660, 2)); // Battlefield Death Syndrome

    Location pos;
    if(team1.containsMember(player))
View Full Code Here

      {
        player.restoreExp();
        player.setCurrentCp(player.getMaxCp());
        player.setCurrentHp(player.getMaxHp(), true);
        player.setCurrentMp(player.getMaxMp());
        player.broadcastPacket(new Revive(player));
      }
    }
  }
View Full Code Here

    {
      player.restoreExp();
      player.setCurrentCp(player.getMaxCp());
      player.setCurrentHp(player.getMaxHp(), true);
      player.setCurrentMp(player.getMaxMp());
      player.broadcastPacket(new Revive(player));
    }
  }
View Full Code Here

    {
      player.restoreExp();
      player.setCurrentCp(player.getMaxCp());
      player.setCurrentHp(player.getMaxHp(), true);
      player.setCurrentMp(player.getMaxMp());
      player.broadcastPacket(new Revive(player));
    }
  }
View Full Code Here

      {
        player.restoreExp();
        player.setCurrentCp(player.getMaxCp());
        player.setCurrentHp(player.getMaxHp(), true);
        player.setCurrentMp(player.getMaxMp());
        player.broadcastPacket(new Revive(player));
      }
    }
    for (Player player : getPlayers(players_list2))
    {
      if (player.isDead())
      {
        player.restoreExp();
        player.setCurrentCp(player.getMaxCp());
        player.setCurrentHp(player.getMaxHp(), true);
        player.setCurrentMp(player.getMaxMp());
        player.broadcastPacket(new Revive(player));
      }
    }
  }
View Full Code Here

  {
    if (npcId != actor.getDisplayId())
    {
      actor.setDisplayId(npcId);
      DeleteObject d = new DeleteObject(actor);
      L2GameServerPacket su = new StatusUpdate(actor).addAttribute(StatusUpdateField.CUR_HP, StatusUpdateField.MAX_HP);
      for (Player player : World.getAroundPlayers(actor))
      {
        player.sendPacket(d, new NpcInfo(actor, player));
        if (player.getTarget() == actor)
        {
View Full Code Here

          break;
        case 30:
        case 20:
        case 10:
        case 5:
          Announcements.getInstance().announceToAll(new SystemMessage(SystemMessage.THE_SERVER_WILL_BE_COMING_DOWN_IN_S1_SECONDS__PLEASE_FIND_A_SAFE_PLACE_TO_LOG_OUT).addNumber(shutdownCounter));
          break;
        case 0:
          switch (shutdownMode)
          {
            case SHUTDOWN:
View Full Code Here

            spawnRoom(7);
            setReenterTime(System.currentTimeMillis());
            for(Player p : getPlayers())
            {
              p.sendPacket(new ExSendUIEvent(p, 1, 1, 0, 0));
              p.sendPacket(new SystemMessage(SystemMessage.THIS_DUNGEON_WILL_EXPIRE_IN_S1_MINUTES).addNumber(5));
            }
            startCollapseTimer(5 * 60 * 1000L);
            timeSpent = (int) (System.currentTimeMillis() - _savedTime) / 1000;
          }
        }, 10000L);
View Full Code Here

TOP

Related Classes of lineage2.gameserver.network.serverpackets.Revive

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.