贪婪节点英雄信息

back_recharge
lvxinran 2021-03-18 15:50:35 +08:00
parent c986069c5a
commit 5f5562938b
1 changed files with 2 additions and 2 deletions

View File

@ -420,7 +420,7 @@ public class ExpeditionLogic {
Map<String, Double> heroHP = nodeInfo.getBossHP();
SnapFightInfo fightInfo = nodeInfo.getSnapFightInfo();
CommonProto.ExpeditionTeamInfo.Builder builder = CommonProto.ExpeditionTeamInfo.newBuilder();
if (!ExpeditionLogic.isBattleNode(nodeInfo.getType())&&!ExpeditionLogic.isHardNode(nodeInfo.getType())) {
if (!ExpeditionLogic.isBattleNode(nodeInfo.getType())&&nodeInfo.getType()!=ExpeditionLogic.NODETYPE_GREED) {
return builder.build();
}
if (null == fightInfo) {
@ -428,7 +428,7 @@ public class ExpeditionLogic {
return builder.build();
}
builder.setTotalForce(fightInfo.getForce());
if(ExpeditionLogic.isBattleNode(nodeInfo.getType())){
if(ExpeditionLogic.isBattleNode(nodeInfo.getType())||nodeInfo.getType()==ExpeditionLogic.NODETYPE_GREED){
List<CommonProto.ExpeditionSimpleBossInfo> builders = new LinkedList<>();
fightInfo.getHeroAttribute().forEach((s, familyHeroInfo) -> {
CommonProto.ExpeditionSimpleBossInfo.Builder builder1 = CommonProto.ExpeditionSimpleBossInfo.newBuilder();