yx属性显示

back_recharge
xuexinpeng 2021-10-18 16:37:13 +08:00
parent 875484ac61
commit 0fb715e75f
1 changed files with 4 additions and 3 deletions

View File

@ -240,11 +240,12 @@ public class CoreService implements RPCRequestIFace.Iface {
continue;
}
Map<Integer, Long> attribute;
if(teamId == GlobalsDef.FORMATION_NORMAL){
/*if(teamId == GlobalsDef.FORMATION_NORMAL){
attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, false, teamId);
}else{
attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, true, teamId);
}
}*/
attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, true, teamId);
if(arenaOfHero.getAttributeMapByTeam() == null){
arenaOfHero.setAttributeMapByTeam(new HashMap<>());
}