跨服战力补充提交
parent
fdf2e28b6f
commit
4f8f6cd44d
|
@ -214,7 +214,7 @@ public class CrossServiceLogic {
|
||||||
if (collect.isEmpty()){
|
if (collect.isEmpty()){
|
||||||
continue;
|
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);
|
arenaOfHero.putAttributeMapByTeam(teamId,attribute);
|
||||||
}
|
}
|
||||||
return arenaOfHero;
|
return arenaOfHero;
|
||||||
|
|
|
@ -68,7 +68,7 @@ public class CrossRankManager {
|
||||||
rank.crossUserCache(Integer.parseInt(tuple.getValue()));
|
rank.crossUserCache(Integer.parseInt(tuple.getValue()));
|
||||||
}else {
|
}else {
|
||||||
GuildCache cache = cacheMap.get(Integer.valueOf(tuple.getValue()));
|
GuildCache cache = cacheMap.get(Integer.valueOf(tuple.getValue()));
|
||||||
if (cache != null){
|
if (cache != null && cache.getLeaderUId() != 0){
|
||||||
rank.crossUserCache(cache.getLeaderUId());
|
rank.crossUserCache(cache.getLeaderUId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue