被动技配置bug

back_recharge
zhangshanxue 2020-06-08 15:35:47 +08:00
parent 019c9e9db2
commit 30c54bead0
1 changed files with 1 additions and 1 deletions

View File

@ -1468,7 +1468,7 @@ public class HeroLogic{
heroSkillList.forEach(skill->{
SPassiveSkillLogicConfig configTmp = SPassiveSkillLogicConfig.getConfig(skill);
if(configTmp.getValue()[2] ==4){
if(null!=configTmp.getValue()&&configTmp.getValue().length>2&&configTmp.getValue()[2] ==4){
PassiveskillCalEnum.calEnumMap.get(configTmp.getType()).getPassiveSkillProcessor().process(configTmp,hero,heroSkillAdMap);
}
});