Examples of restoreExp()


Examples of l2p.gameserver.model.L2Player.restoreExp()

      target.setCurrentCp(target.getMaxCp());
      // GM Resurrection will restore any lost exp
      if(target.isPlayer())
      {
        L2Player deadplayer = (L2Player) target;
        deadplayer.restoreExp();
      }
      target.broadcastPacket(new SocialAction(target.getObjectId(), 15));
      target.broadcastPacket(new Revive(target));
      target.doRevive();
    }
View Full Code Here

Examples of l2p.gameserver.model.L2Player.restoreExp()

          {
            ClanHall clanHall = activeChar.getClanHall();
            loc = MapRegion.getTeleToClanHall(activeChar);
            if(clanHall.getFunction(ResidenceFunction.RESTORE_EXP) != null)
            {
              activeChar.restoreExp(clanHall.getFunction(ResidenceFunction.RESTORE_EXP).getLevel());
            }
          }
          break;
        case TO_CASTLE:
          isInDefense = false;
View Full Code Here

Examples of l2p.gameserver.model.L2Player.restoreExp()

          }
          Castle castle = activeChar.getCastle();
          loc = MapRegion.getTeleToCastle(activeChar);
          if(castle.getFunction(ResidenceFunction.RESTORE_EXP) != null)
          {
            activeChar.restoreExp(castle.getFunction(ResidenceFunction.RESTORE_EXP).getLevel());
          }
          break;
        case TO_FORTRESS:
          isInDefense = false;
          if(siege != null && siege.checkIsDefender(clan))
View Full Code Here

Examples of l2p.gameserver.model.L2Player.restoreExp()

          }
          Fortress fort = activeChar.getFortress();
          loc = MapRegion.getTeleToFortress(activeChar);
          if(fort.getFunction(ResidenceFunction.RESTORE_EXP) != null)
          {
            activeChar.restoreExp(fort.getFunction(ResidenceFunction.RESTORE_EXP).getLevel());
          }
          break;
        case TO_SIEGEHQ:
          SiegeClan siegeClan = null;
          if(siege != null)
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.