巅峰赛修改
parent
5dc5ab2ae5
commit
cda3ad53a7
|
@ -128,12 +128,14 @@ public class BloodLogic {
|
|||
if(user!=null&&!user.getPokemonManager().getPokemonTeamMap().isEmpty()){
|
||||
pokemonSkills = HeroLogic.getInstance().getPokemonSkills(UserManager.getUser(uid));
|
||||
}
|
||||
return CommonProto.FightTeamInfo.
|
||||
CommonProto.FightTeamInfo.Builder builder = CommonProto.FightTeamInfo.
|
||||
newBuilder()
|
||||
.addAllFightUnitList(heroDefendFightInfos)
|
||||
.addAllPokemonUnitList(pokemonSkills)
|
||||
.setTeamPassiveList(passiveSkill)
|
||||
.build();
|
||||
.setTeamPassiveList(passiveSkill);
|
||||
if(pokemonSkills != null){
|
||||
builder.addAllPokemonUnitList(pokemonSkills);
|
||||
}
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue