添加战斗力字段

back_recharge
yuanshuai 2021-10-25 17:26:26 +08:00
parent 5a11a55629
commit 6fc96e7f71
2 changed files with 2 additions and 0 deletions

View File

@ -138,6 +138,7 @@ public class BloodLogic {
.addAllFightUnitList(heroDefendFightInfos)
.addAllPokemonUnitList(pokemonSkills)
.setTeamPassiveList(passiveSkill)
.setForceScore(HeroLogic.getInstance().calTeamForce(user,1))
.build();
}

View File

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