yx跨服属性
parent
5c68ad2738
commit
032c48c8b5
|
@ -228,7 +228,12 @@ public class CoreService implements RPCRequestIFace.Iface {
|
|||
if (collect.isEmpty()){
|
||||
continue;
|
||||
}
|
||||
Map<Integer, Long> attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, true, teamId);
|
||||
Map<Integer, Long> attribute;
|
||||
if(teamId == GlobalsDef.FORMATION_NORMAL){
|
||||
attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, false, teamId);
|
||||
}else{
|
||||
attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, true, teamId);
|
||||
}
|
||||
if(arenaOfHero.getAttributeMapByTeam() == null){
|
||||
arenaOfHero.setAttributeMapByTeam(new HashMap<>());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue