Browse Source

战斗引导 触发登峰造极 引导提示没出来 不给点

zhaoyang 2 years ago
parent
commit
4ee59cefef

+ 6 - 2
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightSingleScoreView.cs

@@ -599,7 +599,7 @@ namespace GFGGame
 
         private void UpdateToCheckGuide()
         {
-            _ui.m_comClick.target.touchable = true;
+            _ui.m_comClick.target.touchable = !_isAllPerfect;
             GuideCfg guideCfg = GuideCfgArray.Instance.GetCfg(ConstGuideId.START_FIGHT);
             if (_partId == 1)
             {
@@ -613,7 +613,11 @@ namespace GFGGame
             {
                 GuideController.TryGuide(_ui.m_comClick.target, ConstGuideId.START_FIGHT, 9, "你真棒,再来一次", -1, true, 230, false, true);
             }
-            if (_isAllPerfect) GuideController.TryGuide(_ui.m_comClick.target, ConstGuideId.START_FIGHT, 10, "太棒啦,6次卓越点击会触发登峰造极哦!任意地方按住3秒就行!", -1, true, 230, false, true);
+            if (_isAllPerfect)
+            {
+                bool guide = GuideController.TryGuide(_ui.m_comClick.target, ConstGuideId.START_FIGHT, 10, "太棒啦,6次卓越点击会触发登峰造极哦!任意地方按住3秒就行!", -1, true, 230, false, true);
+                if (guide) _ui.m_comClick.target.touchable = true;
+            }
         }
 
     }