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

back_recharge
zhangshanxue 2020-09-21 21:00:46 +08:00
commit 65602bd986
1 changed files with 1 additions and 1 deletions

View File

@ -1240,7 +1240,7 @@ public class HeroLogic{
public StringBuilder getHeroProperty(User user, Hero hero, StringBuilder sb,boolean isMySelf,int teamId){
int curMapId = user.getMapManager().getCurMapId();
Map<Integer, Integer> heroAttributeMap;
if(!isMySelf || curMapId == 0){
if(!isMySelf || curMapId == 0 || (teamId!=GlobalsDef.TRIAL_TEAM&&teamId!=GlobalsDef.ENDLESS_TEAM)){
heroAttributeMap=calHeroNotBufferAttribute(user, hero,false,teamId);
}else {
heroAttributeMap=calHeroFinalAttributeWhenInMap(user, hero,false,teamId);