脚本优化
parent
bdc1aa723a
commit
9a2bf80a9b
|
@ -3019,7 +3019,7 @@ public class HeroLogic {
|
|||
}
|
||||
|
||||
Map<Integer, Long> heroSkillAdMap = new HashMap<>();
|
||||
heroSkillList.forEach(skill -> {
|
||||
for (Integer skill : heroSkillList) {
|
||||
SPassiveSkillLogicConfig config = SPassiveSkillLogicConfig.getConfig(skill);
|
||||
if (null != config.getValue() && config.getValue().length > 2 && config.getValue()[2] != 4) {
|
||||
PassiveskillCalEnum passiveskillCalEnum = PassiveskillCalEnum.calEnumMap.get(config.getType());
|
||||
|
@ -3027,7 +3027,7 @@ public class HeroLogic {
|
|||
passiveskillCalEnum.getPassiveSkillProcessor().process(config, hero, heroSkillAdMap);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (!heroSkillAdMap.isEmpty()) {
|
||||
combinedAttribute(heroSkillAdMap, heroAllAttribute);
|
||||
|
|
Loading…
Reference in New Issue