Browse Source

工作室书简修复物品获取途径修改

zhangyuqian 1 year ago
parent
commit
dea768732a
1 changed files with 12 additions and 0 deletions
  1. 12 0
      GameClient/Assets/Editor/Excel/Scanner/ItemApproachScanner.cs

+ 12 - 0
GameClient/Assets/Editor/Excel/Scanner/ItemApproachScanner.cs

@@ -458,6 +458,8 @@ namespace GFGEditor
                 {
                 {
 
 
                 }
                 }
+                StudioCfg _studioCfg = StudioCfgArray.Instance.GetCfgsByfunId(typeof(StudioPorcelainView).Name)[StudioDataManager.Instance.PorcelainTheme - 1];
+
                 chapterCfg = StoryChapterCfgArray.Instance.GetCfg(cfg.chapterId);
                 chapterCfg = StoryChapterCfgArray.Instance.GetCfg(cfg.chapterId);
                 studioCfg = StudioCfgArray.Instance.GetCfg(cfg.chapterId);
                 studioCfg = StudioCfgArray.Instance.GetCfg(cfg.chapterId);
                 fieldCfg = FieldCfgArray.Instance.GetCfg(cfg.chapterId);
                 fieldCfg = FieldCfgArray.Instance.GetCfg(cfg.chapterId);
@@ -465,6 +467,16 @@ namespace GFGEditor
                 if (chapterCfg != null || studioCfg != null || fieldCfg != null)
                 if (chapterCfg != null || studioCfg != null || fieldCfg != null)
                 {
                 {
                     bool result = CheckItemInBonus(itemId, cfg);
                     bool result = CheckItemInBonus(itemId, cfg);
+                    if (studioCfg != null)
+                    {
+                        if (cfg.type == 2 && cfg.subType == 4)
+                        {
+                            if (_studioCfg.id != cfg.chapterId)
+                            {
+                                continue;
+                            }
+                        }
+                    }
                     if (result)
                     if (result)
                     {
                     {
                         string approach = "JU_QING_GUAN_QIA=" + cfg.id;
                         string approach = "JU_QING_GUAN_QIA=" + cfg.id;