编队ID修改

back_recharge
lvxinran 2019-08-12 11:15:21 +08:00
parent f8645932db
commit acc29668bc
1 changed files with 7 additions and 5 deletions

View File

@ -998,11 +998,13 @@ public class HeroLogic {
}
//阵营光环加成
if(!isForce){
List<int[][]> elementEffect = CombatLogic.getInstance().elementEffect(user,teamId);
Iterator it = elementEffect.iterator();
while (it.hasNext()){
int[][] effect = (int[][])it.next();
combinedAttribute(effect,heroAllAttribute);
if(teamId!=0){
List<int[][]> elementEffect = CombatLogic.getInstance().elementEffect(user,teamId);
Iterator it = elementEffect.iterator();
while (it.hasNext()){
int[][] effect = (int[][])it.next();
combinedAttribute(effect,heroAllAttribute);
}
}
}
calInteractAdd(heroAllAttribute);