瀏覽代碼

修改服装合成奖励判断

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;
         }