个人战力

back_recharge
lvxinran 2019-08-10 10:52:16 +08:00
parent 65bcc67faf
commit e1824e12d5
1 changed files with 1 additions and 0 deletions

View File

@ -374,6 +374,7 @@ public class PlayerLogic {
.setName(playerManager.getNickName()).setUid(session.getUid());
CommonProto.TeamOneTeamInfo.Builder teamInfo = CommonProto.TeamOneTeamInfo.newBuilder();
teamInfo.setTeam(team);
teamInfo.setTotalForce(HeroLogic.getInstance().calTeamTotalForce(user,1,false));
if(teamPosManager.getTeamPosForPoken().get(1)!=null&&teamPosManager.getTeamPosForPoken().get(1).size()>0){
for(TeamPosForPokenInfo posForPokenInfo:teamPosManager.getTeamPosForPoken().get(1)){
teamInfo.addPokemonInfos(posForPokenInfo.getPokenId());