back_recharge
duhui 2021-09-18 17:45:49 +08:00
parent 921482467c
commit b4f8483c4c
2 changed files with 2 additions and 0 deletions

View File

@ -244,6 +244,7 @@ public abstract class AbstractRank implements IRank {
protected void getCrossOptional(int index,ZSetOperations.TypedTuple<String> data,PlayerInfoProto.RankResponse.Builder builder) throws Exception {
ArenaOfUser everyUser = CrossServiceLogic.getInstance().query(Integer.parseInt(data.getValue()));
if (everyUser == null){
LOGGER.error("改玩家没有跨服数据...:{}",data.getValue());
return;
}
CommonProto.RankInfo.Builder everyRankInfo = CommonProto.RankInfo.newBuilder()

View File

@ -254,6 +254,7 @@ public class SevenWorldLogic {
// 战斗逻辑特殊处理怪物id位置要传自增id
PVEFightEvent pveFightEvent = new PVEFightEvent(user.getId(), TeamEnum.SEVEN_WORLD_TEAM.getTeamId(), 20, "", GameFightType.SevenWorld, stage.getId(), 1);
FightResult fightResult = FightDispatcher.dispatcher(pveFightEvent);
LOGGER.info("七界挑战结果...:{}",fightResult.toString());
// 战斗异常
if (fightResult.getResult() == -1) {
throw new ErrorCodeException(ErrorCode.FIGHT_EXCEPTION);