山河领奖报空处理

back_recharge
xuexinpeng 2021-05-29 17:01:07 +08:00
parent 4292f3cca2
commit b1029ebb06
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,6 @@ public class StartHardStageRequestHandler extends BaseHandler<PlayerInfoProto.Ha
}
List<TeamPosHeroInfo> teamPosHeroInfos = user.getTeamPosManager().getTeamPosForHero().get(teamId);
PlayerInfoProto.HardStageFightResponse.Builder fightStartResponse = PlayerInfoProto.HardStageFightResponse.newBuilder();
CommonProto.FightTeamInfo fightTeamInfo = HardStageLogic.getFightTeamInfo(user, teamId, nodeConfig);
//直接发奖励
if (nodeConfig.getStageType() == 2) {
Map<Integer, HardStageChapter> chapt = user.getHardStageManager().getChapterMap(user);
@ -110,6 +109,7 @@ public class StartHardStageRequestHandler extends BaseHandler<PlayerInfoProto.Ha
Map<Integer, List<CommonProto.FightUnitInfo>> monsterfightTeamInfos = MonsterUtil.getHardStageMonsterByGroup(nodeConfig);
List<CommonProto.FightUnitInfo> monsterPokemonByGroup = MonsterUtil.getMonsterPokemonByGroup(nodeConfig.getMonsterGroup());
List<CommonProto.FightTeamInfo> monsterGroupList = BehaviorUtil.getFightTeamInfos(monsterfightTeamInfos, monsterPokemonByGroup, Global.MONSTER_1);
CommonProto.FightTeamInfo fightTeamInfo = HardStageLogic.getFightTeamInfo(user, teamId, nodeConfig);
LuaValue getFightData = FightDataUtil.getFinalFightData(fightTeamInfo, monsterGroupList);
getFightData.set("nodeId", nodeId);
LuaValue getOptionData = FightDataUtil.getOptionData(user.getId() + "");