跨服战力补充提交

back_recharge
duhui 2021-08-02 11:18:54 +08:00
parent fdf2e28b6f
commit 4f8f6cd44d
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ public class CrossServiceLogic {
if (collect.isEmpty()){
continue;
}
Map<Integer, Long> attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, false, teamId);
Map<Integer, Long> attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, true, teamId);
arenaOfHero.putAttributeMapByTeam(teamId,attribute);
}
return arenaOfHero;

View File

@ -68,7 +68,7 @@ public class CrossRankManager {
rank.crossUserCache(Integer.parseInt(tuple.getValue()));
}else {
GuildCache cache = cacheMap.get(Integer.valueOf(tuple.getValue()));
if (cache != null){
if (cache != null && cache.getLeaderUId() != 0){
rank.crossUserCache(cache.getLeaderUId());
}
}