|
@@ -373,6 +373,8 @@ namespace GFGEditor
|
|
{
|
|
{
|
|
List<string> approachs = new List<string>();
|
|
List<string> approachs = new List<string>();
|
|
StoryChapterCfg chapterCfg = new StoryChapterCfg();
|
|
StoryChapterCfg chapterCfg = new StoryChapterCfg();
|
|
|
|
+ StudioCfg studioCfg = new StudioCfg();
|
|
|
|
+ FieldCfg fieldCfg = new FieldCfg();
|
|
StoryLevelCfgArray manager = StoryLevelCfgArray.Instance;
|
|
StoryLevelCfgArray manager = StoryLevelCfgArray.Instance;
|
|
StoryLevelCfg[] dataArray = manager.dataArray;
|
|
StoryLevelCfg[] dataArray = manager.dataArray;
|
|
foreach (StoryLevelCfg cfg in dataArray)
|
|
foreach (StoryLevelCfg cfg in dataArray)
|
|
@@ -386,7 +388,11 @@ namespace GFGEditor
|
|
|
|
|
|
}
|
|
}
|
|
chapterCfg = StoryChapterCfgArray.Instance.GetCfg(cfg.chapterId);
|
|
chapterCfg = StoryChapterCfgArray.Instance.GetCfg(cfg.chapterId);
|
|
- if (chapterCfg != null) {
|
|
|
|
|
|
+ studioCfg = StudioCfgArray.Instance.GetCfg(cfg.chapterId);
|
|
|
|
+ fieldCfg = FieldCfgArray.Instance.GetCfg(cfg.chapterId);
|
|
|
|
+ //判断是否有配在剧情、工作室、田野调查表
|
|
|
|
+ if (chapterCfg != null || studioCfg != null || fieldCfg != null)
|
|
|
|
+ {
|
|
bool result = CheckItemInBonus(itemId, cfg);
|
|
bool result = CheckItemInBonus(itemId, cfg);
|
|
if (result)
|
|
if (result)
|
|
{
|
|
{
|