Merge branch 'master_test_gn' of http://60.1.1.230/backend/jieling_server into master_test_gn

back_recharge
jiahuiwen 2021-12-28 15:24:45 +08:00
commit 973c2b9ce8
2 changed files with 7 additions and 0 deletions

View File

@ -203,6 +203,12 @@ public class CoreService implements RPCRequestIFace.Iface {
rpcArenaManager.setPracticeSkillMap(user.getHeroManager().getPracticeSkillMap());
rpcArenaManager.setFaBaoGongMingSkillMap(user.getHeroManager().getFaBaoGongMingSkillMap());
rpcArenaManager.setMaxHistoryForce(user.getPlayerInfoManager().getMaxForce());
// 身外化身数据
List<Integer> list = user.getHeroManager().getTransformationList().values().stream()
.filter(v -> v.getStatus() == 1)
.mapToInt(TransformationInfo::getCardId)
.boxed().collect(Collectors.toList());
rpcArenaManager.setTfInfoList(list);
LOGGER.info("跨服,获取玩家英雄信息耗时:{}ms",TimeUtils.now()-start);
return rpcArenaManager;
}catch (Exception e){

View File

@ -4119,6 +4119,7 @@ public class HeroLogic {
hero.setLevel(1);
hero.setBreakId(0);
hero.setStar(5);
hero.setStarBreakId(0);
//鸿蒙阵
addOrUpdateHongmeng(session);
HeroInfoProto.HeroReturnResponse build = HeroInfoProto.HeroReturnResponse.newBuilder().setDrop(drop).build();