森罗幻境阵容bug

back_recharge
jiahuiwen 2022-01-15 11:07:23 +08:00
parent 996169647e
commit 5cecf52687
1 changed files with 3 additions and 0 deletions

View File

@ -96,6 +96,9 @@ public enum PassiveskillCalEnum {
//被动技能,编队每增加一个同属性英雄属性额外增加一定数值
float[] value = config.getValue();
List<TeamPosHeroInfo> teamPosHeroInfos = user.getTeamPosManager().getTeamPosForHero().get(teamId);
if (teamPosHeroInfos == null) {
return;
}
int haveNum=0;
for (TeamPosHeroInfo teamPosHeroInfo : teamPosHeroInfos) {
Hero localHero=user.getHeroManager().getHero(teamPosHeroInfo.getHeroId());