大闹天宫和七剑试炼开战协议添加战斗力数据字段

back_recharge
yuanshuai 2021-10-25 15:32:45 +08:00
parent d478225c1d
commit 5a11a55629
2 changed files with 2 additions and 0 deletions

View File

@ -791,6 +791,7 @@ public class ExpeditionLogic {
.setPosition(teamPosHeroInfo.getPosition())
.setStar(hero.getStar())
.setSkinId(hero.getSkin())
.setForceScore(HeroLogic.getInstance().calTeamForce(user,teamId))
.build();
heroFightInfos.add(heroFightInfo);
}

View File

@ -116,6 +116,7 @@ public class SevenWorldFightHandler implements IFightEventProcesor {
.addAllFightUnitList(heroFightInfos)
.addAllPokemonUnitList(HeroLogic.getInstance().getPokemonSkills(user))
.setTeamPassiveList(HeroLogic.getInstance().getPokenmonPassiveSkills(user,teamId))
.setForceScore(HeroLogic.getInstance().calTeamForce(user,teamId))
.build();
}