Package com.l2jfrozen.gameserver.network.serverpackets

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


    }
   
    if (activeChar.isFakeDeath())
    {
      activeChar.stopFakeDeath(null);
      activeChar.broadcastPacket(new Revive(activeChar));
      return;
    }
    else if (!activeChar.isAlikeDead())
    {
      _log.warning("Living player [" + activeChar.getName() + "] called RestartPointPacket! Ban this player!");
View Full Code Here


      _status.setCurrentCp(getMaxCp() * Config.RESPAWN_RESTORE_CP);
      _status.setCurrentHp(getMaxHp() * Config.RESPAWN_RESTORE_HP);   
      }
    }
    // Start broadcast status
    broadcastPacket(new Revive(this));

    if(getWorldRegion() != null)
    {
      getWorldRegion().onRevive(this);
    }
View Full Code Here

      ((L2PcInstance) this).setRecentFakeDeath(true);
    }

    ChangeWaitType revive = new ChangeWaitType(this, ChangeWaitType.WT_STOP_FAKEDEATH);
    broadcastPacket(revive);
    broadcastPacket(new Revive(this));
    getAI().notifyEvent(CtrlEvent.EVT_THINK, null);

    revive = null;
  }
View Full Code Here

      {
        L2PcInstance character = L2World.getInstance().getPlayer(it.next().toString());
        character.setCurrentHpMp(character.getMaxHp(), character.getMaxMp());
        character.setCurrentCp(character.getMaxCp());

        Revive revive = new Revive(character);
        SocialAction sa = new SocialAction(character.getObjectId(), 15);
        character.broadcastPacket(sa);
        character.sendPacket(sa);
        character.sendPacket(revive);
        character.broadcastPacket(revive);
View Full Code Here

TOP

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