فهرست منبع

修改服装合成奖励判断

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