山河社稷图
parent
e656ac4344
commit
41ba1e238c
|
@ -150,6 +150,11 @@ public class HardStageLogic {
|
|||
user.getTeamPosManager().setCurTeamPosId(teamId);
|
||||
List<CommonProto.FightUnitInfo> heroFightInfos = new ArrayList<>();
|
||||
List<TeamPosHeroInfo> teamPosHeroInfos = user.getTeamPosManager().getTeamPosForHero().get(teamId);
|
||||
//只能使用一个神将 复制为6个神将
|
||||
if(nodeConfig.getHardStageBuff() == 1011){
|
||||
|
||||
|
||||
}
|
||||
for (TeamPosHeroInfo teamPosHeroInfo : teamPosHeroInfos) {
|
||||
Hero hero;
|
||||
|
||||
|
@ -212,11 +217,13 @@ public class HardStageLogic {
|
|||
node.setHasPass(true);
|
||||
dropList.addAll(getFirstRewards(user, nodeConfig));//关卡通过奖励
|
||||
//SHardStage nextNodeConfig = SHardStage.getConfigMap().get(nodeConfig.getNextLevel());
|
||||
SHardStage.getPreList(nodeConfig.getId()).stream().forEach(n -> {
|
||||
if (n != null) {
|
||||
user.getHardStageManager().openNewNode(user, n);
|
||||
}
|
||||
});
|
||||
if(SHardStage.getPreList(nodeConfig.getId()) != null){
|
||||
SHardStage.getPreList(nodeConfig.getId()).stream().forEach(n -> {
|
||||
if (n != null) {
|
||||
user.getHardStageManager().openNewNode(user, n);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
user.getHardStageManager().updateString("chapterMap." + nodeConfig.getChapter(), chapterMap.get(nodeConfig.getChapter()));
|
||||
} else if (node.getType() == 3) {
|
||||
|
|
Loading…
Reference in New Issue