编队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){ if(!isForce){
List<int[][]> elementEffect = CombatLogic.getInstance().elementEffect(user,teamId); if(teamId!=0){
Iterator it = elementEffect.iterator(); List<int[][]> elementEffect = CombatLogic.getInstance().elementEffect(user,teamId);
while (it.hasNext()){ Iterator it = elementEffect.iterator();
int[][] effect = (int[][])it.next(); while (it.hasNext()){
combinedAttribute(effect,heroAllAttribute); int[][] effect = (int[][])it.next();
combinedAttribute(effect,heroAllAttribute);
}
} }
} }
calInteractAdd(heroAllAttribute); calInteractAdd(heroAllAttribute);