소스 검색

修改服装合成奖励判断

leiyasi 1 년 전
부모
커밋
075d242692
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      GameClient/Assets/Game/HotUpdate/Data/RedDotDataManager.cs

+ 2 - 1
GameClient/Assets/Game/HotUpdate/Data/RedDotDataManager.cs

@@ -506,9 +506,10 @@ namespace GFGGame
             List<SuitCfg> suitCfgs = SuitCfgArray.Instance.GetCfgsBysyntheticType(tab);
             for (int i = 0; i < suitCfgs.Count; i++)
             {
+                if (GetClothingSyntheticBonusRed(suitCfgs[i].id)) return true;
                 bool isLevelPass = InstanceZonesDataManager.CheckLevelPass(suitCfgs[i].syntheticStoryLevelId);
                 if (!isLevelPass) continue;
-                if (GetClothingSyntheticRed(suitCfgs[i].id) || GetClothingSyntheticBonusRed(suitCfgs[i].id)) return true;
+                if (GetClothingSyntheticRed(suitCfgs[i].id)) return true;
             }
             return false;
         }