| 
					
				 | 
			
			
				@@ -578,10 +578,54 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             List<int> recommendList = DressUpMenuItemDataManager.GetRecommendItemList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             StoryLevelCfg levelCfg = StoryLevelCfgArray.Instance.GetCfg(InstanceZonesDataManager.currentLevelCfgId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(levelCfg.fightID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int liangyiqunIndex = -1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int shangyiIndex = -1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int xiazhuangIndex = -1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (int i = 0; i < recommendList.Count; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                int subType = ItemUtilCS.GetItemSubType(recommendList[i]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (subType == ConstDressUpItemType.LIAN_YI_QUN) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    liangyiqunIndex = i; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    continue; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (subType == ConstDressUpItemType.SHANG_YI) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    shangyiIndex = i; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    continue; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (subType == ConstDressUpItemType.XIA_ZHUANG) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    xiazhuangIndex = i; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    continue; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (liangyiqunIndex >= 0 && (shangyiIndex >= 0 || xiazhuangIndex >= 0)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (shangyiIndex < 0) recommendList.RemoveAt(xiazhuangIndex);//上衣下装只有一件,则保留连衣裙 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (xiazhuangIndex < 0) recommendList.RemoveAt(xiazhuangIndex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (shangyiIndex >= 0 && xiazhuangIndex >= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    int lianyiqunScore = DressUpMenuItemDataManager.GetItemScore(recommendList[liangyiqunIndex]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    int shangyiScore = DressUpMenuItemDataManager.GetItemScore(recommendList[shangyiIndex]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    int xiazhuangScore = DressUpMenuItemDataManager.GetItemScore(recommendList[xiazhuangIndex]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (lianyiqunScore > shangyiScore + xiazhuangScore) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        recommendList.RemoveAt(xiazhuangIndex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        recommendList.RemoveAt(xiazhuangIndex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        recommendList.RemoveAt(liangyiqunIndex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //推荐搭配自动穿必穿品 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (fightCfg.needItemId > 0 && DressUpMenuItemDataManager.CheckHasItem(fightCfg.needItemId) && recommendList.IndexOf(fightCfg.needItemId) < 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 recommendList.Add(fightCfg.needItemId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             else if (fightCfg.needSuitId > 0 && DressUpMenuSuitDataManager.CheckHaveSuit(fightCfg.needSuitId)) 
			 |