Browse Source

摘星的掉落获取途径未显示

zhaoyang 3 years ago
parent
commit
b0bdad6c63

+ 19 - 4
GameClient/Assets/Editor/Excel/Scanner/ItemApproachScanner.cs

@@ -172,17 +172,29 @@ namespace GFGEditor
             {
             {
                 Debug.Log("");
                 Debug.Log("");
             }
             }
+
             foreach (LuckyBoxCfg cfg in dataArray)
             foreach (LuckyBoxCfg cfg in dataArray)
             {
             {
                 for (int i = 0; i < cfg.bonusArr.Length; i++)
                 for (int i = 0; i < cfg.bonusArr.Length; i++)
                 {
                 {
-                    int dropId = cfg.bonusArr[i][0];
-                    bool approach = CheckDropApproach(itemId, dropId);
-                    if (approach)
+                    if (itemId == cfg.bonusArr[i][0])
                     {
                     {
                         return "ZHAI_XING";
                         return "ZHAI_XING";
                     }
                     }
                 }
                 }
+
+                int dropId = cfg.dropId;
+                if (itemId == 3000028)
+                {
+                    ET.Log.Debug("");
+                }
+
+                bool approach = CheckDropApproach(itemId, dropId);
+                if (approach)
+                {
+                    return "ZHAI_XING";
+                }
+                // }
             }
             }
             return null;
             return null;
         }
         }
@@ -302,7 +314,10 @@ namespace GFGEditor
                 }
                 }
                 if (manager.GetCfgs(dataArray[i].item).Count > 0)
                 if (manager.GetCfgs(dataArray[i].item).Count > 0)
                 {
                 {
-
+                    if (dropId == 11000006)
+                    {
+                        ET.Log.Debug("");
+                    }
                     return CheckDropApproach(itemId, dataArray[i].item);
                     return CheckDropApproach(itemId, dataArray[i].item);
                 }
                 }
             }
             }

BIN
GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes