Преглед изворни кода

修改服装合成奖励判断

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