danaotiangong battlenode

back_recharge
mengchengzhen 2021-03-10 15:17:47 +08:00
parent 8e5e1dc6b2
commit b83f8583ec
1 changed files with 3 additions and 0 deletions

View File

@ -248,16 +248,19 @@ public class BattleNode extends AbstractExpedition {
// 重复圣物
if (ids.contains(v) && holyConfig.getCanRepeat() == 0){
iterator.remove();
continue;
}
// 不存在的英雄,专属圣物
if (holyConfig.getHeroId() != 0){
if (!expeditonHeroIds.contains(holyConfig.getHeroId())){
iterator.remove();
continue;
}
}
// 已经生成过得圣物
if(nodeHolyInfo.contains(v)){
iterator.remove();
continue;
}
}
return valueMap;