소스 검색

竞技场引导

zhaoyang 2 년 전
부모
커밋
ace0ae683d
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 0
      GameClient/Assets/Game/HotUpdate/Controller/GuideController.cs
  2. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaView.cs

+ 5 - 0
GameClient/Assets/Game/HotUpdate/Controller/GuideController.cs

@@ -69,8 +69,13 @@ namespace GFGGame
             {
                 return false;
             }
+
             GuideCfg cfg = GuideCfgArray.Instance.GetCfg(guideKey);
             if (cfg == null || GuideDataManager.currentGuideId != 0 && GuideDataManager.currentGuideId != cfg.id) return false;
+            if (guideKey == ConstGuideId.ARENA_OPEN && (InstanceZonesDataManager.CheckLevelPass(cfg.storyLevelId) || ArenaDataManager.Instance.IsArenaClearing))
+            {
+                return false;//竞技场结算中或已通关指定开启关卡,不引导
+            }
             GRoot.inst.touchable = false;
             bool isStoryLevelGuide = cfg.storyLevelId > 0;
             bool isFinishCurId = StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_GUIDE + cfg.id) > 0;//当前引导未完成

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaView.cs

@@ -443,7 +443,7 @@ namespace GFGGame
         }
         private void CheckGuide(object param)
         {
-            if (GuideDataManager.IsGuideFinish(ConstGuideId.ARENA_OPEN) <= 0)
+            if (GuideDataManager.IsGuideFinish(ConstGuideId.ARENA_OPEN) <= 0 && !_dataManager.IsArenaClearing)
             {
                 UpdateToCheckGuide(null);
             }