Explorar el Código

修改博物图鉴进度计算

leiyasi hace 1 año
padre
commit
bef57b7500

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Data/InstanceZonesDataManager.cs

@@ -383,9 +383,9 @@ namespace GFGGame
         public static void GetTotalProgress(out int count, out int totalCount)
         {
             List<StoryChapterCfg> storyChapters = StoryChapterCfgArray.Instance.GetCfgsBysubType(ConstInstanceZonesSubType.Normal);
-            totalCount = storyChapters.Count - 1;
+            totalCount = storyChapters.Count;
             count = 0;
-            for (int i = 1; i < storyChapters.Count; i++)
+            for (int i = 0; i < storyChapters.Count; i++)
             {
                 bool isPass = InstanceZonesDataManager.CheckChapterPass(storyChapters[i].type, storyChapters[i].subType, storyChapters[i].id, storyChapters[i].levelCount);
                 if (isPass)