修复bug
parent
34c562b72f
commit
6a2210eea3
|
@ -3942,7 +3942,7 @@ public class HeroLogic {
|
||||||
totalForce += playerSkill.getFight();
|
totalForce += playerSkill.getFight();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LOGGER.info("calTeamTotalForce uid={} 总战力={} 耗时={}", targetUser.getId(), totalForce, TimeUtils.now() - now);
|
LOGGER.info("calTeamTotalForce uid={} teamId={} 总战力={} 耗时={}ms", targetUser.getId(), teamId, totalForce, TimeUtils.now() - now);
|
||||||
return totalForce;
|
return totalForce;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7010,7 +7010,7 @@ public class HeroLogic {
|
||||||
int result = 0;
|
int result = 0;
|
||||||
for (Integer id : set) {
|
for (Integer id : set) {
|
||||||
SEquipConfig config = configMap.get(id);
|
SEquipConfig config = configMap.get(id);
|
||||||
if (config == null || config.getPotentialNew() == null) {
|
if (config == null || config.getPotentialNew() == null || config.getPotentialNew().length == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
result += config.getPotentialNew()[1];
|
result += config.getPotentialNew()[1];
|
||||||
|
|
Loading…
Reference in New Issue