Browse Source

修改引导

lzx 1 day ago
parent
commit
a87cea5718

+ 4 - 2
Assets/Res/Config/InitialPlayerConfig.json

@@ -6,13 +6,15 @@
         1001,
         1005,
         1006,
-        1201
+        1201,
+        1002
       ],
       "itemAmount": [
         500000,
         5000,
         5000,
-        1
+        1,
+        3280
       ],
       "fabaoId": [
         10010

+ 4 - 4
Assets/Res/Config/LanguageChineseConfig.json

@@ -37622,11 +37622,11 @@
     },
     {
       "ID": 10146,
-      "txt": "先点击功法"
+      "txt": "先上一个"
     },
     {
       "ID": 10147,
-      "txt": "功法前期只可放置在对应五行的绿圈内,后期则可以放置在任意位置"
+      "txt": "可以将功法放入功法盘的任意空位"
     },
     {
       "ID": 10148,
@@ -38742,11 +38742,11 @@
     },
     {
       "ID": 10426,
-      "txt": "0"
+      "txt": "再上阵一个辅助功法,它能加强其他功法的效果。"
     },
     {
       "ID": 10427,
-      "txt": "0"
+      "txt": "放在这里,可以让旁边的功法更强!!"
     },
     {
       "ID": 10428,

+ 72 - 0
Assets/Res/Config/PlayerGuideConfig.json

@@ -726,6 +726,78 @@
       "NeedLevel": 0,
       "groupID": 4,
       "FingerType": 1,
+      "dialogPos": [
+        -182,
+        177
+      ],
+      "NpcPos": [
+        422,
+        -100
+      ],
+      "NpcSize": [
+        500,
+        500
+      ],
+      "SpeakerName": 0,
+      "SpeakerStyle": 1,
+      "SpeakerImage": 3,
+      "desc": 10426,
+      "Highlighting": 1,
+      "blackAlpha": 0.55,
+      "Handle": 1,
+      "IsSkip": 0,
+      "TextSize": [
+        1240,
+        157
+      ],
+      "reversalFinger": 1,
+      "reversalBox": 2,
+      "ForceOnclick": 1,
+      "forceText": 1,
+      "voiceFile": ""
+    },
+    {
+      "ID": 409,
+      "Index": 9,
+      "NeedLevel": 0,
+      "groupID": 4,
+      "FingerType": 1,
+      "dialogPos": [
+        -182,
+        177
+      ],
+      "NpcPos": [
+        422,
+        -100
+      ],
+      "NpcSize": [
+        500,
+        500
+      ],
+      "SpeakerName": 0,
+      "SpeakerStyle": 1,
+      "SpeakerImage": 3,
+      "desc": 10427,
+      "Highlighting": 1,
+      "blackAlpha": 0.55,
+      "Handle": 1,
+      "IsSkip": 0,
+      "TextSize": [
+        1240,
+        157
+      ],
+      "reversalFinger": 1,
+      "reversalBox": 2,
+      "ForceOnclick": 1,
+      "forceText": 1,
+      "voiceFile": ""
+    },
+    {
+      "ID": 410,
+      "Index": 10,
+      "NeedLevel": 0,
+      "groupID": 4,
+      "FingerType": 1,
       "dialogPos": [
         -182,
         -621

+ 10 - 0
Assets/Scripts/GameUI/UI/CombatPanel/SkillSelectPanel.cs

@@ -760,6 +760,11 @@ namespace Fort23.Mono
                 PlayerGuideManager.Instance.NextGuide();
             }
 
+            if (PlayerGuideManager.Instance.GuideIsCanDo(4, 9))
+            {
+                PlayerGuideManager.Instance.NextGuide();
+            }
+
             SkillKongWidget skillKongWidget = obj as SkillKongWidget;
             if (infoType == 1)
             {
@@ -1331,6 +1336,11 @@ namespace Fort23.Mono
             {
                 PlayerGuideManager.Instance.NextGuide();
             }
+
+            if (PlayerGuideManager.Instance.GuideIsCanDo(4, 8))
+            {
+                PlayerGuideManager.Instance.NextGuide();
+            }
         }
 
         /// <summary>

+ 53 - 2
Assets/Scripts/GameUI/UI/GuidePanel/Phases/Phase4.cs

@@ -32,6 +32,8 @@ namespace Fort23.Mono.Phases
             actionList.Add(OnStep406);
             actionList.Add(OnStep407);
             actionList.Add(OnStep408);
+            actionList.Add(OnStep409);
+            actionList.Add(OnStep410);
 
 
             actionList.Add(OnStepEnd);
@@ -229,13 +231,62 @@ namespace Fort23.Mono.Phases
             pgm.SetFingerPos(pgm.Setpos(localPos, size, gameObject));
             pgm.SetFingerVisiable(true);
         }
+        
+        /// <summary>
+        /// 上辅助功法
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep408(UnityEngine.Object obj)
+        {
+            pgm.StepInit();
+            await TimerComponent.Instance.WaitAsync(100);
+
+            GameObject gameObject =
+                UIManager.Instance.GetComponent<SkillSelectPanel>()._skillWidgets[2].own;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+
+            await pgm.ConfigLogic(408, delegate() { });
+
+            pgm.SetFingerPos(pgm.Setpos(localPos, size, gameObject));
+            pgm.SetFingerVisiable(true);
+        }
+
+        
+        /// <summary>
+        ///
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep409(UnityEngine.Object obj)
+        {
+            pgm.StepInit();
+            await TimerComponent.Instance.WaitAsync(100);
+
+            GameObject gameObject =
+                UIManager.Instance.GetComponent<SkillSelectPanel>().allKongSkill[6].own;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+
+            await pgm.ConfigLogic(409, delegate() { });
+
+            pgm.SetFingerPos(pgm.Setpos(localPos, size, gameObject));
+            pgm.SetFingerVisiable(true);
+        }
 
 
         /// <summary>
         /// 功法调整完毕,点这里返回
         /// </summary>
         /// <param name="obj"></param>
-        public async CTask OnStep408(UnityEngine.Object obj)
+        public async CTask OnStep410(UnityEngine.Object obj)
         {
             pgm.StepInit();
             await TimerComponent.Instance.WaitAsync(100);
@@ -249,7 +300,7 @@ namespace Fort23.Mono.Phases
             pgm.SetMaskTarget(gameObject);
             pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
 
-            await pgm.ConfigLogic(408, delegate() { });
+            await pgm.ConfigLogic(410, delegate() { });
 
             pgm.SetFingerPos(pgm.Setpos(localPos, size, gameObject));
             pgm.SetFingerVisiable(true);

BIN
Excel2Json/Excel/InitialPlayer.xlsx


BIN
Excel2Json/Excel/Language.xlsx


BIN
Excel2Json/Excel/PlayerGuide.xlsx