删除yx换一批log

xuexinpeng 2021-11-08 01:47:15 +08:00
parent 77b5e4b3d2
commit 772420df81
1 changed files with 0 additions and 5 deletions

View File

@ -232,19 +232,15 @@ public class CrossYuxulundaoLogic {
//需要填充机器人
matchRival.forEach(n->{ arenaRank.add(Integer.valueOf(n.getValue())); });
arenaRank.addAll(SArenaRobotConfig.getSArenaRobotConfigsByRangeAndCount(con.getScoreLow1(),con.getScoreUp1(),5 - matchRival.size()));
arenaRank.forEach(n->{ LOGGER.info("yuxulundao:1 ---"+n.intValue());});
}else{
//随机出五个真人
List<String> matchRivalList = new ArrayList<String>();
matchRival.forEach(n->{matchRivalList.add(n.getValue());});
Collections.shuffle(matchRivalList);
matchRivalList.subList(0,5).forEach(n->arenaRank.add(Integer.valueOf(n)));
arenaRank.forEach(n->{ LOGGER.info("yuxulundao:2 ---"+n.intValue());});
}
}else{
arenaRank.addAll(SArenaRobotConfig.getSArenaRobotConfigsByRangeAndCount(con.getScoreLow1(),con.getScoreUp1(),5));
arenaRank.forEach(n->{ LOGGER.info("yuxulundao:3 ---"+n.intValue());});
}
//没有高分段机器人 从相近的里面取机器人
if(arenaRank.size() == 0){
@ -255,7 +251,6 @@ public class CrossYuxulundaoLogic {
break;
}
}
arenaRank.forEach(n->{ LOGGER.info("yuxulundao:4 ---"+n.intValue());});
}
arenaRank.forEach(n -> {
if (n > 1000) {