鸿蒙碑

back_recharge
xuexinpeng 2021-09-02 11:45:47 +08:00
commit 6890e0b2dc
1 changed files with 4 additions and 4 deletions

View File

@ -4326,7 +4326,7 @@ public class HeroLogic{
List<Hero> heroes = new ArrayList<>(values);
// 是否开启鸿蒙碑
int tabletMax = 1;
int tabletMax = 0;
// 是否为鸿蒙碑
if (heroManager.getHongmengTablet() > 0){
// 等级
@ -4349,8 +4349,8 @@ public class HeroLogic{
}
});
// 是否开启鸿蒙碑
if (hero.getOriginalLevel() < Integer.parseInt(openLevel[1])) {
tabletMax = 0;
if (hero.getOriginalLevel() >= Integer.parseInt(openLevel[1])) {
tabletMax++;
}
// 等级
hongmengLevel(resonanceLevel, hero);
@ -4364,7 +4364,7 @@ public class HeroLogic{
heroManager.setHongmengGuards(hongmengs);
// 鸿蒙碑,觉醒限制
if (tabletMax == 1 && heroManager.getHongmengTablet() == 0) {
if (tabletMax >= Integer.parseInt(openLevel[0]) && heroManager.getHongmengTablet() == 0) {
// 开启鸿蒙碑
heroManager.setHongmengTablet(Integer.parseInt(openLevel[1]));
for (String resetLevelId : heroManager.getHongmengGuards().values()) {