lzx 16 ساعت پیش
والد
کامیت
edc8c04f0c

+ 12 - 12
Assets/Res/Config/PlayerGuideConfig.json

@@ -883,7 +883,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": 10416,
       "Highlighting": 1,
@@ -919,7 +919,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": -1,
       "Highlighting": 1,
@@ -955,7 +955,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": 10417,
       "Highlighting": 1,
@@ -991,7 +991,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": 10418,
       "Highlighting": 1,
@@ -1027,7 +1027,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": 10419,
       "Highlighting": 1,
@@ -1063,7 +1063,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": 10420,
       "Highlighting": 1,
@@ -1099,7 +1099,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": 10421,
       "Highlighting": 1,
@@ -1135,7 +1135,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": 10422,
       "Highlighting": 1,
@@ -1171,7 +1171,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": 10423,
       "Highlighting": 1,
@@ -1207,7 +1207,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": 10424,
       "Highlighting": 1,
@@ -1243,7 +1243,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": -1,
       "Highlighting": 1,
@@ -1279,7 +1279,7 @@
         500
       ],
       "SpeakerName": 0,
-      "SpeakerStyle": 4,
+      "SpeakerStyle": 1,
       "SpeakerImage": 3,
       "desc": 10425,
       "Highlighting": 1,

+ 4 - 2
Assets/Scripts/GameUI/UI/BoxPanel/GachaPanel.cs

@@ -37,7 +37,8 @@ namespace Fort23.Mono
         {
             AppBarPanel.ClosePanel();
             TitlePanel.ClosePanel();
-            
+
+
             if (PlayerGuideManager.Instance.GuideIsCanDo(8, 2))
             {
                 PlayerGuideManager.Instance.NextGuide();
@@ -62,7 +63,7 @@ namespace Fort23.Mono
 
         public override void AddButtonEvent()
         {
-            tenButton.onClick.AddListener(async() =>
+            tenButton.onClick.AddListener(async () =>
             {
 #if UNITY_ANDROID && !UNITY_EDITOR&& Taptap
                       if (TakuSDKManager.Instance.IsReady())
@@ -192,6 +193,7 @@ namespace Fort23.Mono
 
             await MarskPanel.ClosePanel();
             root.gameObject.SetActive(true);
+
         }
 
 

+ 1 - 1
Assets/Scripts/GameUI/UI/CombatPanel/SkillSelectPanel.cs

@@ -346,7 +346,7 @@ namespace Fort23.Mono
 
             guanbi.onClick.AddListener(() =>
             {
-                if (PlayerGuideManager.Instance.GuideIsCanDo(4, 8))
+                if (PlayerGuideManager.Instance.GuideIsCanDo(4, 10))
                 {
                     PlayerGuideManager.Instance.NextGuide();
                 }

+ 22 - 2
Assets/Scripts/GameUI/UI/GuidePanel/Phases/Phase7.cs

@@ -80,6 +80,9 @@ namespace Fort23.Mono.Phases
         /// <param name="obj"></param>
         public async CTask OnStep701(UnityEngine.Object obj)
         {
+            pgm.StepInit();
+            await TimerComponent.Instance.WaitAsync(100);
+            
             GameObject gameObject = UIManager.Instance.GetComponent<ShopPanel>()._shopBtnWidgets[0].own;
             Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
             Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
@@ -87,7 +90,7 @@ namespace Fort23.Mono.Phases
             pgm.SetfxTransVisiable(true);
             pgm.SetMaskTarget(gameObject);
             pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
-            await pgm.ConfigLogic(6701, delegate() { });
+            await pgm.ConfigLogic(701, delegate() { });
 
             pgm.SetFingerPos(localPos);
             pgm.SetFingerVisiable(true);
@@ -99,6 +102,10 @@ namespace Fort23.Mono.Phases
         /// <param name="obj"></param>
         public async CTask OnStep702(UnityEngine.Object obj)
         {
+            
+            pgm.StepInit();
+            await TimerComponent.Instance.WaitAsync(100);
+            
             GameObject gameObject = null;
             ShopPanel shopPanel = UIManager.Instance.GetComponent<ShopPanel>();
             foreach (var shopPanelShopGroupWidgetType1 in shopPanel._shopGroupWidgetType1s)
@@ -129,6 +136,10 @@ namespace Fort23.Mono.Phases
         /// <param name="obj"></param>
         public async CTask OnStep703(UnityEngine.Object obj)
         {
+            
+            pgm.StepInit();
+            await TimerComponent.Instance.WaitAsync(100);
+            
             GameObject gameObject = UIManager.Instance.GetComponent<ShopGachaPanel>().Btn_LingQu.gameObject;
             Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
             Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
@@ -148,6 +159,9 @@ namespace Fort23.Mono.Phases
         /// <param name="obj"></param>
         public async CTask OnStep704(UnityEngine.Object obj)
         {
+            pgm.StepInit();
+            await TimerComponent.Instance.WaitAsync(100);
+            
             GameObject gameObject = UIManager.Instance.GetComponent<ShopPanel>()._shopBtnWidgets[1].own;
             Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
             Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
@@ -168,8 +182,11 @@ namespace Fort23.Mono.Phases
         /// <param name="obj"></param>
         public async CTask OnStep705(UnityEngine.Object obj)
         {
+            pgm.StepInit();
+            await TimerComponent.Instance.WaitAsync(100);
+            
             GameObject gameObject =
-                (UIManager.Instance.GetComponent<ShopPanel>()._shopGroupWidgetType1s[1] as ShopGroupWidgetType1)
+                (UIManager.Instance.GetComponent<ShopPanel>()._shopGroupWidgetType1s[0] as ShopGroupWidgetType1)
                 ._shopItemWidgetType2s[4].own;
             Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
             Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
@@ -190,6 +207,9 @@ namespace Fort23.Mono.Phases
         /// <param name="obj"></param>
         public async CTask OnStep706(UnityEngine.Object obj)
         {
+            pgm.StepInit();
+            await TimerComponent.Instance.WaitAsync(100);
+            
             GameObject gameObject =
                 UIManager.Instance.GetComponent<ShopBuyItemPanel>().Btn_Function.gameObject;
             Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);

+ 3 - 2
Assets/Scripts/GameUI/UI/GuidePanel/Phases/Phase8.cs

@@ -119,15 +119,16 @@ namespace Fort23.Mono.Phases
             pgm.StepInit();
 
             await pgm.ConfigLogic(803, delegate() { pgm.NextGuide(); });
-            UIManager.Instance.HideUIUIPanel<GachaPanel>();
 
-            UIManager.Instance.HideUIUIPanel<BoxPanel>();
         }
 
         public async CTask OnStepEnd(UnityEngine.Object obj)
         {
             pgm.StepInit();
             pgm.SetBlackBaseVisiable(false);
+            await UIManager.Instance.HideUIUIPanel<GachaPanel>();
+
+            UIManager.Instance.HideUIUIPanel<BoxPanel>();
             ForceGuideOver();
         }
 

+ 5 - 4
Assets/Scripts/GameUI/UI/ShopPanel/ShopPanel.cs

@@ -125,6 +125,11 @@ namespace Fort23.Mono
 
         private async void OnClick(ItemWidgetBasic obj)
         {
+            if (PlayerGuideManager.Instance.GuideIsCanDo(7, 1))
+            {
+                PlayerGuideManager.Instance.NextGuide();
+            }
+
             ShopBtnWidget shopBtnWidget = obj as ShopBtnWidget;
             TitlePanel.OpenPanel(shopBtnWidget.ShopGroupConfig.titleShowItemIds.ToList());
             Text_Title.text = LanguageManager.Instance.Text(shopBtnWidget.ShopGroupConfig.shopName);
@@ -173,10 +178,6 @@ namespace Fort23.Mono
             }
 
 
-            if (PlayerGuideManager.Instance.GuideIsCanDo(7, 1))
-            {
-                PlayerGuideManager.Instance.NextGuide();
-            }
             if (PlayerGuideManager.Instance.GuideIsCanDo(7, 4))
             {
                 PlayerGuideManager.Instance.NextGuide();

BIN
Excel2Json/Excel/PlayerGuide.xlsx