飞升技能相关修改
parent
e8fd75b925
commit
bf8386326b
|
@ -192,7 +192,12 @@ public class SCHero implements BaseConfig{
|
|||
int starOrBreakId = openSkillRule[1];
|
||||
int skillId = openSkillRule[2];
|
||||
awakSkillMapTmp.get(type).computeIfAbsent(starOrBreakId, a -> {
|
||||
return new ArrayList<>(awakSkillMapTmp.get(type).getOrDefault(a - 1, new ArrayList<>()));
|
||||
int oldKey=a-1;
|
||||
///飞升技能特殊处理,为了累计之前的激活技能
|
||||
if (a==25){
|
||||
oldKey=11;
|
||||
}
|
||||
return new ArrayList<>(awakSkillMapTmp.get(type).getOrDefault(oldKey , new ArrayList<>()));
|
||||
});
|
||||
awakSkillMapTmp.get(type).get(starOrBreakId).add(skillId);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue