瀏覽代碼

修改bug

DESKTOP-FB72PO8\Administrator 2 天之前
父節點
當前提交
f6bb0d3791
共有 37 個文件被更改,包括 821 次插入173 次删除
  1. 9 0
      Assets/Res/Config/HeroModelConfig.json
  2. 111 2
      Assets/Res/UI/CombatPanel.prefab
  3. 151 0
      Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget.asset
  4. 8 0
      Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget.asset.meta
  5. 133 0
      Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget_1.asset
  6. 8 0
      Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget_1.asset.meta
  7. 79 0
      Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget_1_2.asset
  8. 8 0
      Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget_1_2.asset.meta
  9. 13 45
      Assets/Scenes/testCombat.scene
  10. 4 0
      Assets/Scripts/Core/Utility/BesselPathMono.cs
  11. 6 0
      Assets/Scripts/GameData/ExcelConfig/HeroModelConfig.cs
  12. 5 0
      Assets/Scripts/GameLogic/Combat/CombatEvent/CombatEventType.cs
  13. 16 0
      Assets/Scripts/GameLogic/Combat/CombatEvent/HuangDaoAlterSlotsEventData.cs
  14. 3 0
      Assets/Scripts/GameLogic/Combat/CombatEvent/HuangDaoAlterSlotsEventData.cs.meta
  15. 12 5
      Assets/Scripts/GameLogic/Combat/CombatTool/MagicWeaponCollisionInfo.cs
  16. 5 0
      Assets/Scripts/GameLogic/Combat/Hero/CombatHeroEntity.cs
  17. 14 2
      Assets/Scripts/GameLogic/Combat/Hero/CombatHeroInfo.cs
  18. 4 0
      Assets/Scripts/GameLogic/Combat/Hero/MagicWeaponControl.cs
  19. 12 3
      Assets/Scripts/GameLogic/Combat/Hero/Turntable/SkillTurntable.cs
  20. 6 0
      Assets/Scripts/GameLogic/Combat/Skill/DS60103.cs
  21. 2 2
      Assets/Scripts/GameLogic/Combat/Skill/S1001.cs
  22. 2 2
      Assets/Scripts/GameLogic/Combat/Skill/S1101.cs
  23. 1 1
      Assets/Scripts/GameLogic/Combat/Skill/S1201.cs
  24. 1 1
      Assets/Scripts/GameLogic/Combat/Skill/S1301.cs
  25. 1 1
      Assets/Scripts/GameLogic/Combat/Skill/S2001.cs
  26. 13 11
      Assets/Scripts/GameLogic/Combat/Skill/SkillBasic.cs
  27. 1 1
      Assets/Scripts/GameLogic/Hero/FaBaoInfo.cs
  28. 18 1
      Assets/Scripts/GameLogic/Hero/SkillInfo.cs
  29. 1 1
      Assets/Scripts/GameUI/UI/CombatPanel/BossHpWidget.cs
  30. 9 3
      Assets/Scripts/GameUI/UI/CombatPanel/WuXingGongFaWidget.cs
  31. 6 2
      Assets/Scripts/GameUI/UI/CombatPanel/ZhuanPanPanel.cs
  32. 62 6
      Assets/Scripts/GameUI/UI/CombatPanel/gf_widget.cs
  33. 13 0
      Assets/Scripts/GameUI/UI/CombatPanel/gf_widgetData.cs
  34. 二進制
      Excel2Json/Excel/FabaoConfig.xlsx
  35. 二進制
      Excel2Json/Excel/HeroModel.xlsx
  36. 二進制
      Excel2Json/Excel/skill.xlsx
  37. 84 84
      UserSettings/Layouts/default-2022.dwlt

+ 9 - 0
Assets/Res/Config/HeroModelConfig.json

@@ -51,6 +51,9 @@
         84001,
         85001
       ],
+      "fa_bao_id": [
+        10001
+      ],
       "heroStory": null
     },
     {
@@ -75,6 +78,9 @@
         82001,
         83001
       ],
+      "fa_bao_id": [
+        10001
+      ],
       "heroStory": null
     },
     {
@@ -98,6 +104,9 @@
         81001,
         82001
       ],
+      "fa_bao_id": [
+        10001
+      ],
       "heroStory": null
     }
   ]

+ 111 - 2
Assets/Res/UI/CombatPanel.prefab

@@ -2771,7 +2771,7 @@ MonoBehaviour:
   m_Name: 
   m_EditorClassIdentifier: 
   m_Material: {fileID: 0}
-  m_Color: {r: 1, g: 1, b: 1, a: 0.12941177}
+  m_Color: {r: 1, g: 1, b: 1, a: 1}
   m_RaycastTarget: 1
   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
   m_Maskable: 1
@@ -6981,6 +6981,7 @@ GameObject:
   m_Component:
   - component: {fileID: 4908641481422767167}
   - component: {fileID: 8495898831614672319}
+  - component: {fileID: 7737140206786927853}
   m_Layer: 5
   m_HasEditorInfo: 1
   m_Name: gf_widget
@@ -6996,7 +6997,7 @@ RectTransform:
   m_PrefabInstance: {fileID: 0}
   m_PrefabAsset: {fileID: 0}
   m_GameObject: {fileID: 9048783764069595547}
-  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
   m_ConstrainProportionsScale: 0
@@ -7039,4 +7040,112 @@ MonoBehaviour:
     isAssetBundle: 0
     isList: 0
     ListCollectorDatas: []
+  - key: PlayerGf_widget
+    gameObject: {fileID: 7737140206786927853}
+    isAssetBundle: 0
+    isList: 0
+    ListCollectorDatas: []
   isAssetBundle: 1
+--- !u!114 &7737140206786927853
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 9048783764069595547}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: 6a23dadfaa104ddf929b8c98dd02623c, type: 3}
+  m_Name: 
+  m_EditorClassIdentifier: 
+  maxDuration: 0
+  isUpdate: 0
+  currTime: 0.5304619
+  GrpupInfos:
+  - Foldout: 1
+    isActive: 0
+    animName: enter
+    isLoop: 0
+    allTargets:
+    - {fileID: 4015181750756248656}
+    TweenAssetInfo: {fileID: 11400000, guid: 761080c128a90744f85dc52a0924cb45, type: 2}
+    TargetFoldout: 1
+    maxDuration: 0.2
+    isUpdate: 1
+    currTime: 0
+  - Foldout: 1
+    isActive: 0
+    animName: huangdao
+    isLoop: 0
+    allTargets:
+    - {fileID: 4015181750756248656}
+    TweenAssetInfo: {fileID: 11400000, guid: 48023464e0993b54592cc1f093e93266, type: 2}
+    TargetFoldout: 1
+    maxDuration: 0.5
+    isUpdate: 1
+    currTime: 0
+  MinMaxGradient:
+    m_Mode: 0
+    m_GradientMin:
+      serializedVersion: 2
+      key0: {r: 1, g: 1, b: 1, a: 1}
+      key1: {r: 1, g: 1, b: 1, a: 1}
+      key2: {r: 0, g: 0, b: 0, a: 0}
+      key3: {r: 0, g: 0, b: 0, a: 0}
+      key4: {r: 0, g: 0, b: 0, a: 0}
+      key5: {r: 0, g: 0, b: 0, a: 0}
+      key6: {r: 0, g: 0, b: 0, a: 0}
+      key7: {r: 0, g: 0, b: 0, a: 0}
+      ctime0: 0
+      ctime1: 65535
+      ctime2: 0
+      ctime3: 0
+      ctime4: 0
+      ctime5: 0
+      ctime6: 0
+      ctime7: 0
+      atime0: 0
+      atime1: 65535
+      atime2: 0
+      atime3: 0
+      atime4: 0
+      atime5: 0
+      atime6: 0
+      atime7: 0
+      m_Mode: 0
+      m_ColorSpace: -1
+      m_NumColorKeys: 2
+      m_NumAlphaKeys: 2
+    m_GradientMax:
+      serializedVersion: 2
+      key0: {r: 1, g: 1, b: 1, a: 1}
+      key1: {r: 1, g: 1, b: 1, a: 1}
+      key2: {r: 0, g: 0, b: 0, a: 0}
+      key3: {r: 0, g: 0, b: 0, a: 0}
+      key4: {r: 0, g: 0, b: 0, a: 0}
+      key5: {r: 0, g: 0, b: 0, a: 0}
+      key6: {r: 0, g: 0, b: 0, a: 0}
+      key7: {r: 0, g: 0, b: 0, a: 0}
+      ctime0: 0
+      ctime1: 65535
+      ctime2: 0
+      ctime3: 0
+      ctime4: 0
+      ctime5: 0
+      ctime6: 0
+      ctime7: 0
+      atime0: 0
+      atime1: 65535
+      atime2: 0
+      atime3: 0
+      atime4: 0
+      atime5: 0
+      atime6: 0
+      atime7: 0
+      m_Mode: 0
+      m_ColorSpace: -1
+      m_NumColorKeys: 2
+      m_NumAlphaKeys: 2
+    m_ColorMin: {r: 0, g: 0, b: 0, a: 0}
+    m_ColorMax: {r: 0, g: 0, b: 0, a: 0}
+  isLoop: 0

+ 151 - 0
Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget.asset

@@ -0,0 +1,151 @@
+%YAML 1.1
+%TAG !u! tag:yousandi.cn,2023:
+--- !u!114 &11400000
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 0}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: 81c305ba541a4659ad97bd292322e9b3, type: 3}
+  m_Name: TweenAssetInfoPlayerGf_widget
+  m_EditorClassIdentifier: 
+  allTweenInfo:
+  - Foldout: 1
+    TweenType: 0
+    duration: 0.2
+    delay: 0
+    TweenBasic:
+      Foldout: 1
+      duration: 0.2
+      delay: 0
+      currSchedule: 0
+      TweenRectTransformInfos:
+      - TweenRectTransformType: 2
+        TweenLerpType: 1
+        Start: {x: 0, y: 0, z: 0}
+        End: {x: 0, y: 0, z: 0}
+        startX:
+          serializedVersion: 2
+          m_Curve:
+          - serializedVersion: 3
+            time: 0
+            value: 1
+            inSlope: 0.79999995
+            outSlope: 0.79999995
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0
+            outWeight: 0.33333334
+          - serializedVersion: 3
+            time: 0.5
+            value: 1.4
+            inSlope: 0
+            outSlope: 0
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0.33333334
+            outWeight: 0.33333334
+          - serializedVersion: 3
+            time: 1
+            value: 1
+            inSlope: -0.79999995
+            outSlope: -0.79999995
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0.33333334
+            outWeight: 0
+          m_PreInfinity: 2
+          m_PostInfinity: 2
+          m_RotationOrder: 4
+        startY:
+          serializedVersion: 2
+          m_Curve:
+          - serializedVersion: 3
+            time: 0
+            value: 1
+            inSlope: 0.79999995
+            outSlope: 0.79999995
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0
+            outWeight: 0.33333334
+          - serializedVersion: 3
+            time: 0.5
+            value: 1.4
+            inSlope: 0
+            outSlope: 0
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0.33333334
+            outWeight: 0.33333334
+          - serializedVersion: 3
+            time: 1
+            value: 1
+            inSlope: -0.79999995
+            outSlope: -0.79999995
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0.33333334
+            outWeight: 0
+          m_PreInfinity: 2
+          m_PostInfinity: 2
+          m_RotationOrder: 4
+        startZ:
+          serializedVersion: 2
+          m_Curve:
+          - serializedVersion: 3
+            time: 0
+            value: 1
+            inSlope: 0
+            outSlope: 0
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0
+            outWeight: 0
+          - serializedVersion: 3
+            time: 1
+            value: 1
+            inSlope: 0
+            outSlope: 0
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0
+            outWeight: 0
+          m_PreInfinity: 2
+          m_PostInfinity: 2
+          m_RotationOrder: 4
+    TweenCanvasGroup:
+      Foldout: 0
+      duration: 0
+      delay: 0
+      currSchedule: 0
+      TweenLerpType: 0
+      StartAlpha: 0
+      EndAlpha: 0
+      startX:
+        serializedVersion: 2
+        m_Curve: []
+        m_PreInfinity: 2
+        m_PostInfinity: 2
+        m_RotationOrder: 4
+    TweenGraphic:
+      Foldout: 0
+      duration: 0
+      delay: 0
+      currSchedule: 0
+      startColor: {r: 0, g: 0, b: 0, a: 0}
+      endColor: {r: 0, g: 0, b: 0, a: 0}
+      startX:
+        serializedVersion: 2
+        m_Curve: []
+        m_PreInfinity: 2
+        m_PostInfinity: 2
+        m_RotationOrder: 4
+    TweenPlayFx:
+      Foldout: 0
+      duration: 0
+      delay: 0
+      currSchedule: 0

+ 8 - 0
Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget.asset.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: CHwetSKtAHo9o7y2dpUd7J5Lg/6IC1k1NqKQhEuK7jVBAxSLJcBKbpyNh+9L
+NativeFormatImporter:
+  externalObjects: {}
+  mainObjectFileID: 11400000
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 133 - 0
Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget_1.asset

@@ -0,0 +1,133 @@
+%YAML 1.1
+%TAG !u! tag:yousandi.cn,2023:
+--- !u!114 &11400000
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 0}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: 81c305ba541a4659ad97bd292322e9b3, type: 3}
+  m_Name: TweenAssetInfoPlayerGf_widget_1
+  m_EditorClassIdentifier: 
+  allTweenInfo:
+  - Foldout: 1
+    TweenType: 0
+    duration: 0.5
+    delay: 0
+    TweenBasic:
+      Foldout: 1
+      duration: 0.5
+      delay: 0
+      currSchedule: 0
+      TweenRectTransformInfos:
+      - TweenRectTransformType: 2
+        TweenLerpType: 1
+        Start: {x: 0, y: 0, z: 0}
+        End: {x: 0, y: 0, z: 0}
+        startX:
+          serializedVersion: 2
+          m_Curve:
+          - serializedVersion: 3
+            time: 0
+            value: 5
+            inSlope: -4
+            outSlope: -4
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0
+            outWeight: 0.33333334
+          - serializedVersion: 3
+            time: 1
+            value: 1
+            inSlope: -4
+            outSlope: -4
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0.33333334
+            outWeight: 0
+          m_PreInfinity: 2
+          m_PostInfinity: 2
+          m_RotationOrder: 4
+        startY:
+          serializedVersion: 2
+          m_Curve:
+          - serializedVersion: 3
+            time: 0
+            value: 5
+            inSlope: -4
+            outSlope: -4
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0
+            outWeight: 0.33333334
+          - serializedVersion: 3
+            time: 1
+            value: 1
+            inSlope: -4
+            outSlope: -4
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0.33333334
+            outWeight: 0
+          m_PreInfinity: 2
+          m_PostInfinity: 2
+          m_RotationOrder: 4
+        startZ:
+          serializedVersion: 2
+          m_Curve:
+          - serializedVersion: 3
+            time: 0
+            value: 1
+            inSlope: 0
+            outSlope: 0
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0
+            outWeight: 0
+          - serializedVersion: 3
+            time: 1
+            value: 1
+            inSlope: 0
+            outSlope: 0
+            tangentMode: 34
+            weightedMode: 0
+            inWeight: 0
+            outWeight: 0
+          m_PreInfinity: 2
+          m_PostInfinity: 2
+          m_RotationOrder: 4
+    TweenCanvasGroup:
+      Foldout: 0
+      duration: 0
+      delay: 0
+      currSchedule: 0
+      TweenLerpType: 0
+      StartAlpha: 0
+      EndAlpha: 0
+      startX:
+        serializedVersion: 2
+        m_Curve: []
+        m_PreInfinity: 2
+        m_PostInfinity: 2
+        m_RotationOrder: 4
+    TweenGraphic:
+      Foldout: 0
+      duration: 0
+      delay: 0
+      currSchedule: 0
+      startColor: {r: 0, g: 0, b: 0, a: 0}
+      endColor: {r: 0, g: 0, b: 0, a: 0}
+      startX:
+        serializedVersion: 2
+        m_Curve: []
+        m_PreInfinity: 2
+        m_PostInfinity: 2
+        m_RotationOrder: 4
+    TweenPlayFx:
+      Foldout: 0
+      duration: 0
+      delay: 0
+      currSchedule: 0

+ 8 - 0
Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget_1.asset.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: C3IftympVX+cDo2QUsd8K7Gzs95Y3Tyr7oyPZw5xoQa0hntwf9do4+o2s+lQ
+NativeFormatImporter:
+  externalObjects: {}
+  mainObjectFileID: 11400000
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 79 - 0
Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget_1_2.asset

@@ -0,0 +1,79 @@
+%YAML 1.1
+%TAG !u! tag:yousandi.cn,2023:
+--- !u!114 &11400000
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 0}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: 81c305ba541a4659ad97bd292322e9b3, type: 3}
+  m_Name: TweenAssetInfoPlayerGf_widget_1_2
+  m_EditorClassIdentifier: 
+  allTweenInfo:
+  - Foldout: 1
+    TweenType: 0
+    duration: 0.2
+    delay: 0
+    TweenBasic:
+      Foldout: 1
+      duration: 0.2
+      delay: 0
+      currSchedule: 0
+      TweenRectTransformInfos:
+      - TweenRectTransformType: 1
+        TweenLerpType: 0
+        Start: {x: 0, y: 0, z: 0}
+        End: {x: -50, y: 0, z: 0}
+        startX:
+          serializedVersion: 2
+          m_Curve: []
+          m_PreInfinity: 2
+          m_PostInfinity: 2
+          m_RotationOrder: 4
+        startY:
+          serializedVersion: 2
+          m_Curve: []
+          m_PreInfinity: 2
+          m_PostInfinity: 2
+          m_RotationOrder: 4
+        startZ:
+          serializedVersion: 2
+          m_Curve: []
+          m_PreInfinity: 2
+          m_PostInfinity: 2
+          m_RotationOrder: 4
+    TweenCanvasGroup:
+      Foldout: 0
+      duration: 0
+      delay: 0
+      currSchedule: 0
+      TweenLerpType: 0
+      StartAlpha: 0
+      EndAlpha: 0
+      startX:
+        serializedVersion: 2
+        m_Curve: []
+        m_PreInfinity: 2
+        m_PostInfinity: 2
+        m_RotationOrder: 4
+    TweenGraphic:
+      Foldout: 0
+      duration: 0
+      delay: 0
+      currSchedule: 0
+      startColor: {r: 0, g: 0, b: 0, a: 0}
+      endColor: {r: 0, g: 0, b: 0, a: 0}
+      startX:
+        serializedVersion: 2
+        m_Curve: []
+        m_PreInfinity: 2
+        m_PostInfinity: 2
+        m_RotationOrder: 4
+    TweenPlayFx:
+      Foldout: 0
+      duration: 0
+      delay: 0
+      currSchedule: 0

+ 8 - 0
Assets/Res/UIAnimRes/TweenAssetInfoPlayerGf_widget_1_2.asset.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: WSketSqoWn8qw1GbZrmihKCHvi6ubPmI+uCJw1S+7zXOyl8Jt+dRL+fPxtbQ
+NativeFormatImporter:
+  externalObjects: {}
+  mainObjectFileID: 11400000
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

文件差異過大導致無法顯示
+ 13 - 45
Assets/Scenes/testCombat.scene


+ 4 - 0
Assets/Scripts/Core/Utility/BesselPathMono.cs

@@ -13,6 +13,8 @@ namespace Core.Utility
         public ACurve ACurve;
 
         public bool isRun;
+        public Vector3 strat0ff;
+        public Vector3 endOff;
         private void OnDrawGizmos()
         {
             
@@ -35,6 +37,8 @@ namespace Core.Utility
                 }
 
                 BesselPath.controlPoints = (pos);
+                strat0ff = Transforms[0].InverseTransformPoint(Transforms[1].position);
+                endOff = Transforms[3].InverseTransformPoint(Transforms[2].position);
             }
 
             Gizmos.color = Color.blue;

+ 6 - 0
Assets/Scripts/GameData/ExcelConfig/HeroModelConfig.cs

@@ -116,6 +116,12 @@ public float speed_atk;
 public int[] skillID;
 
 
+		/// <summary>
+		///角色自带的法宝
+		/// </summary>
+public int[] fa_bao_id;
+
+
 		/// <summary>
 		///英雄故事文本
 		/// </summary>

+ 5 - 0
Assets/Scripts/GameLogic/Combat/CombatEvent/CombatEventType.cs

@@ -89,5 +89,10 @@
         /// 补填技能槽位
         /// </summary>
         FillInSkillSlots,
+        /// <summary>
+        /// 黄道改变槽位
+        /// </summary>
+        HuangDaoAlterSlots,
+        
     }
 }

+ 16 - 0
Assets/Scripts/GameLogic/Combat/CombatEvent/HuangDaoAlterSlotsEventData.cs

@@ -0,0 +1,16 @@
+using Core.Utility.Event;
+using GameLogic.Player;
+
+namespace Common.Utility.CombatEvent
+{
+    public class HuangDaoAlterSlotsEventData: EventDataBasic<HuangDaoAlterSlotsEventData>
+    {
+        public int  index;
+        public CombatHeroEntity CombatHeroEntity;
+        public WuXingType WuXingType;
+        protected override void ProDispose()
+        {
+            CombatHeroEntity = null;
+        }
+    }
+}

+ 3 - 0
Assets/Scripts/GameLogic/Combat/CombatEvent/HuangDaoAlterSlotsEventData.cs.meta

@@ -0,0 +1,3 @@
+fileFormatVersion: 2
+guid: c3e07934001a40d2a39cb23dcff69982
+timeCreated: 1745568486

+ 12 - 5
Assets/Scripts/GameLogic/Combat/CombatTool/MagicWeaponCollisionInfo.cs

@@ -104,17 +104,24 @@ namespace GameLogic.Combat.CombatTool
             _besselPathA.controlPoints.Add(a.dotPos);
             _besselPathA.controlPoints.Add(a.GameObject.transform.TransformPoint(new Vector3(-9.87f, 4, 2)));
 
-            _besselPathA.controlPoints.Add(b.GameObject.transform.TransformPoint(new Vector3(12.66f, 1, -5)));
+            _besselPathA.controlPoints.Add(b.GameObject.transform.TransformPoint(new Vector3(-12.66f, 1, 5)));
             _besselPathA.controlPoints.Add(b.dotPos);
-
+            GameObject G1 = new GameObject("BesselPathMono22");
+            BesselPathMono besselPathMono1 = G1.AddComponent<BesselPathMono>();
+            besselPathMono1.isRun = true;
+            besselPathMono1.BesselPath = _besselPathA;
             _besselPathB = new BesselPath();
             _besselPathB.controlPoints.Add(b.dotPos);
             _besselPathB.controlPoints.Add(
-                b.GameObject.transform.TransformPoint(new Vector3(-11.89f, -0.29f, 3.28f)));
+                b.GameObject.transform.TransformPoint(new Vector3(11.89f, -0.29f, -3.28f)));
 
             _besselPathB.controlPoints.Add(
                 a.GameObject.transform.TransformPoint(new Vector3(12.67f, -3.03f, -3.5f)));
             _besselPathB.controlPoints.Add(a.dotPos);
+            GameObject G2 = new GameObject("BesselPathMono22");
+            BesselPathMono besselPathMono2 = G2.AddComponent<BesselPathMono>();
+            besselPathMono2.isRun = true;
+            besselPathMono2.BesselPath = _besselPathB;
         }
 
         protected void SetBesselB()
@@ -123,7 +130,7 @@ namespace GameLogic.Combat.CombatTool
             _besselPathA.controlPoints.Add(a.dotPos);
             _besselPathA.controlPoints.Add(a.GameObject.transform.TransformPoint(new Vector3(-3.41f, 4, -7.23f)));
 
-            _besselPathA.controlPoints.Add(b.GameObject.transform.TransformPoint(new Vector3(2.64f, 1, -5)));
+            _besselPathA.controlPoints.Add(b.GameObject.transform.TransformPoint(new Vector3(-2.64f, 1, 5)));
             _besselPathA.controlPoints.Add(b.dotPos);
             GameObject G = new GameObject("BesselPathMono11");
             BesselPathMono besselPathMono = G.AddComponent<BesselPathMono>();
@@ -132,7 +139,7 @@ namespace GameLogic.Combat.CombatTool
             _besselPathB = new BesselPath();
             _besselPathB.controlPoints.Add(b.dotPos);
             _besselPathB.controlPoints.Add(
-                b.GameObject.transform.TransformPoint(new Vector3(-8.5f, -3.93f, 9.58f)));
+                b.GameObject.transform.TransformPoint(new Vector3(8.5f, -3.93f, -9.58f)));
 
             _besselPathB.controlPoints.Add(
                 a.GameObject.transform.TransformPoint(new Vector3(1.45f, -3.03f, 4.6f)));

+ 5 - 0
Assets/Scripts/GameLogic/Combat/Hero/CombatHeroEntity.cs

@@ -341,6 +341,11 @@ public class CombatHeroEntity : ShowBaiscEntity, ITimeLineAnimtion, ITimeLineGet
     public void Recover(HarmReturnInfo harmReturnInfo)
     {
         CurrCombatHeroInfo.hp += harmReturnInfo.att;
+        if (CurrCombatHeroInfo.hp > MaxCombatHeroInfo.hp)
+        {
+            CurrCombatHeroInfo.hp = MaxCombatHeroInfo.hp;
+        }
+
         HarmUpdateEventData harmUpdateEventData = HarmUpdateEventData.Create();
         harmUpdateEventData.HarmReturnInfo = harmReturnInfo;
         CombatEventManager.Instance.Dispatch(CombatEventType.RecoverUpdate, harmUpdateEventData);

+ 14 - 2
Assets/Scripts/GameLogic/Combat/Hero/CombatHeroInfo.cs

@@ -41,6 +41,7 @@ public class CombatHeroInfo
     /// 功法强度的加成 %
     /// </summary>
     public float gongFaStrength;
+
     /// <summary>
     /// 护盾
     /// </summary>
@@ -59,7 +60,7 @@ public class CombatHeroInfo
     /// <summary>
     /// 金
     /// </summary>
-    public float Metal=100;
+    public float Metal = 100;
 
     /// <summary>
     /// 木
@@ -117,6 +118,7 @@ public class CombatHeroInfo
     public bool isMonster;
 
     public int k;
+
     // public int[] skillId;
     // public List<SkillConfig> skillConfigs;
     /// <summary>
@@ -133,6 +135,7 @@ public class CombatHeroInfo
     /// 大道修炼ID
     /// </summary>
     public int TaoismSkillId;
+
     public float GetAttSpeed
     {
         get
@@ -215,7 +218,16 @@ public class CombatHeroInfo
                 }
             }
 
-           
+            if (modelConfig.fa_bao_id != null)
+            {
+                for (int i = 0; i < modelConfig.fa_bao_id.Length; i++)
+                {
+                    int faBaoId = modelConfig.fa_bao_id[i];
+                    FaBaoInfo faBaoInfo = new FaBaoInfo(faBaoId, MonsterPowerUpConfig.FabaoLv,
+                        MonsterPowerUpConfig.FabaoStar);
+                    MagicWeaponID.Add(faBaoInfo);
+                }
+            }
         }
         else
         {

+ 4 - 0
Assets/Scripts/GameLogic/Combat/Hero/MagicWeaponControl.cs

@@ -21,6 +21,7 @@ namespace GameLogic.Combat.Hero
         {
             get { return _allMagicWeapon.ToArray(true); }
         }
+
         public int MagicWeaponCount
         {
             get { return _allMagicWeapon.Count; }
@@ -64,6 +65,9 @@ namespace GameLogic.Combat.Hero
                 cTaskAwaitBuffer.AddTask(heroEntity.Init(this, MagicWeaponID[i],
                     delegate(CombatMagicWeaponEntity entity) { AddMagicWeapon(entity); }));
             }
+
+            await cTaskAwaitBuffer.WaitAll();
+            cTaskAwaitBuffer.Dispose();
         }
 
         public void UseMagicWeapon(CombatMagicWeaponEntity combatMagicWeaponEntity)

+ 12 - 3
Assets/Scripts/GameLogic/Combat/Hero/Turntable/SkillTurntable.cs

@@ -49,8 +49,12 @@ namespace GameLogic.Combat.Hero.Turntable
                 return;
             }
 
-
-            currUseFinishSkill.Add(skillBasic);
+            DS60103 ds60103=  _combatHeroEntity.CombatHeroSkillControl.This<CombatHeroSkillControl>().taoismSkillBasic as DS60103;
+            if (ds60103 != null)
+            {
+                currUseFinishSkill.Add(skillBasic);
+            }
+          
             UseSkillFinishEventData useSkillFinishEventData = UseSkillFinishEventData.Create();
             useSkillFinishEventData.SkillBasic = skillBasic;
             CombatEventManager.Instance.Dispatch(CombatEventType.UseSkillFinish, useSkillFinishEventData);
@@ -260,7 +264,12 @@ namespace GameLogic.Combat.Hero.Turntable
                 }
             }
 
-            skillSlots.SetSkill(null);
+            DS60103 ds60103=  _combatHeroEntity.CombatHeroSkillControl.This<CombatHeroSkillControl>().taoismSkillBasic as DS60103;
+            if (ds60103 != null)
+            {
+                skillSlots.SetSkill(null);
+            }
+
             skillSlots.useCount++;
             combatHeroSkillControl.AddCommandSkill(skillBasic);
             AddUseGongFaEventData addUseGongFaEventData = AddUseGongFaEventData.Create();

+ 6 - 0
Assets/Scripts/GameLogic/Combat/Skill/DS60103.cs

@@ -49,6 +49,12 @@ namespace GameLogic.Combat.Skill
                         CombatHeroEntity.CurrCombatHeroInfo.Earth_Injury -= v;
                         break;
                 }
+
+                HuangDaoAlterSlotsEventData huangDaoAlterSlotsEventData = HuangDaoAlterSlotsEventData.Create();
+                huangDaoAlterSlotsEventData.WuXingType = addUseGongFaEventData.SkillBasic.wuXingType;
+                huangDaoAlterSlotsEventData.CombatHeroEntity = CombatHeroEntity;
+                huangDaoAlterSlotsEventData.index = addUseGongFaEventData.SkillSlots.index;
+                CombatEventManager.Instance.Dispatch(CombatEventType.HuangDaoAlterSlots, huangDaoAlterSlotsEventData);
             }
         }
 

+ 2 - 2
Assets/Scripts/GameLogic/Combat/Skill/S1001.cs

@@ -36,12 +36,12 @@ namespace GameLogic.Combat.Skill
             ITimelineFxLogic timelineFxLogic,
             TriggerData triggerData)
         {
-            float harmBl = SelfSkillConfig.effectValue[0];
+            float harmBl = effectValue[0];
             // CombatC
             int c = targetEntity.combatHeroEntity.BuffControl.GetBuffCountForType(2);
             if (c > 0)
             {
-                harmBl += SelfSkillConfig.effectValue[1];
+                harmBl += effectValue[1];
             }
 
             long v = CombatCalculateTool.Instance.GetVlaueRatioForLong(CombatHeroEntity.CurrCombatHeroInfo.attack.Value,

+ 2 - 2
Assets/Scripts/GameLogic/Combat/Skill/S1101.cs

@@ -61,13 +61,13 @@ namespace GameLogic.Combat.Skill
             TriggerData triggerData)
         {
             long v = CombatCalculateTool.Instance.GetVlaueRatioForLong(CombatHeroEntity.CurrCombatHeroInfo.attack.Value,
-                SelfSkillConfig.effectValue[0]);
+                effectValue[0]);
             CombatCalculateTool.Instance.Harm(CombatHeroEntity, targetEntity, v, AttType.Skill, triggerData,
                 wuXingType,
                 HarmType.Default);
             
             int odds= Random.Range(0, 100);
-            if (odds < SelfSkillConfig.effectValue[1])
+            if (odds < effectValue[1])
             {
                 BuffInfo buffInfo = BuffInfo.GetBuffInfo(10031, 1);
                 targetEntity.combatHeroEntity.BuffControl.AddBuff(CombatHeroEntity, buffInfo);

+ 1 - 1
Assets/Scripts/GameLogic/Combat/Skill/S1201.cs

@@ -55,7 +55,7 @@ namespace GameLogic.Combat.Skill
             else
             {
                 long v = CombatCalculateTool.Instance.GetVlaueRatioForLong(CombatHeroEntity.CurrCombatHeroInfo.attack.Value,
-                    SelfSkillConfig.effectValue[0]);
+                    effectValue[0]);
                 CombatCalculateTool.Instance.Harm(CombatHeroEntity, targetEntity, v, AttType.Skill, triggerData,
                     wuXingType,
                     HarmType.Default);

+ 1 - 1
Assets/Scripts/GameLogic/Combat/Skill/S1301.cs

@@ -42,7 +42,7 @@ namespace GameLogic.Combat.Skill
             TriggerData triggerData)
         {
             long v = CombatCalculateTool.Instance.GetVlaueRatioForLong(CombatHeroEntity.CurrCombatHeroInfo.attack.Value,
-                SelfSkillConfig.effectValue[0]);
+                effectValue[0]);
             CombatCalculateTool.Instance.Harm(CombatHeroEntity, targetEntity, v, AttType.Skill, triggerData,
                 wuXingType,
                 HarmType.Default);

+ 1 - 1
Assets/Scripts/GameLogic/Combat/Skill/S2001.cs

@@ -25,7 +25,7 @@ namespace GameLogic.Combat.Skill
             TriggerData triggerData)
         {
             long v = CombatCalculateTool.Instance.GetVlaueRatioForLong(CombatHeroEntity.CurrCombatHeroInfo.attack.Value,
-                SelfSkillConfig.effectValue[0]);
+                effectValue[0]);
             CombatCalculateTool.Instance.Harm(CombatHeroEntity, targetEntity, v, AttType.Skill, triggerData,wuXingType,
                 HarmType.Default);
             BuffInfo buffInfo = BuffInfo.GetBuffInfo(10051, 1);

+ 13 - 11
Assets/Scripts/GameLogic/Combat/Skill/SkillBasic.cs

@@ -44,6 +44,7 @@ namespace GameLogic.Combat.Skill
         private bool isUse;
 
         public float[] effectValue;
+
         public CombatHeroEntity CombatHeroEntity
         {
             get { return _combatHeroEntity; }
@@ -117,8 +118,8 @@ namespace GameLogic.Combat.Skill
         }
 
         private TriggerData _triggerData;
-
-        protected float[] defaultEffectValue;
+        // public float[] skillEffectValue;
+        // private float[] defaultEffectValue;
 
         /// <summary>
         /// 技能cd
@@ -136,6 +137,7 @@ namespace GameLogic.Combat.Skill
         private CombatParticleSystemPool _earlyWarningFx;
         private CombatHeroEntity _earlyWarningFristHero;
 
+        protected SkillInfo skillInfo;
 
         public T This<T>()
         {
@@ -151,20 +153,18 @@ namespace GameLogic.Combat.Skill
                 return;
             }
 
-            float[] effectValue = SelfSkillConfig.effectValue;
-            float[] newEffectValue = new float[effectValue.Length];
+            float[] basic = skillInfo.effectValue;
+            // float[] newEffectValue = new float[effectValue.Length];
             for (int i = 0; i < SelfSkillConfig.intensifierIndex.Length; i++)
             {
                 int index = SelfSkillConfig.intensifierIndex[i];
-                if (index >= effectValue.Length)
+                if (index >= basic.Length)
                 {
                     continue;
                 }
 
-                newEffectValue[index] = effectValue[index] * (1 + (bl * 0.01f));
+                effectValue[index] = basic[index] * ((bl * 0.01f));
             }
-
-            SelfSkillConfig.effectValue = newEffectValue;
         }
 
         public SkillFeaturesData GetSkillFeaturesData()
@@ -182,8 +182,7 @@ namespace GameLogic.Combat.Skill
 
         public void AddToSkillSlots()
         {
-            SelfSkillConfig.effectValue = defaultEffectValue;
-        
+            Array.Copy(skillInfo.effectValue, effectValue, skillInfo.effectValue.Length);
         }
 
         /// <summary>
@@ -266,6 +265,7 @@ namespace GameLogic.Combat.Skill
 
         public void InitSkillConfig(CombatHeroEntity combatHeroEntity, SkillInfo skillInfo)
         {
+            this.skillInfo = skillInfo;
             _combatHeroEntity = combatHeroEntity;
             SelfSkillConfig = skillInfo.skillConfig;
             SkillMaxCd = SelfSkillConfig.cd;
@@ -280,7 +280,9 @@ namespace GameLogic.Combat.Skill
 
             UseCount = SelfSkillConfig.SkillType * 100000;
             skillGuid = SelfSkillConfig.ID;
-            defaultEffectValue = SelfSkillConfig.effectValue;
+            effectValue = new float[skillInfo.effectValue.Length];
+            Array.Copy(skillInfo.effectValue, effectValue, skillInfo.effectValue.Length);
+
             // if (SkillIntensifierData == null)
             // {
             //     SkillIntensifierData = new SkillIntensifierData();

+ 1 - 1
Assets/Scripts/GameLogic/Hero/FaBaoInfo.cs

@@ -12,7 +12,7 @@ namespace GameLogic.Hero
         public FabaoConfig FabaoConfig;
         public FabaoPowerupConfig FabaoPowerupConfig;
 
-        public FaBaoInfo(int id,int powerupId)
+        public FaBaoInfo(int id,int powerupId,int start=1)
         {
             FabaoConfig = ConfigComponent.Instance.Get<FabaoConfig>(id);
             FabaoPowerupConfig = ConfigComponent.Instance.Get<FabaoPowerupConfig>(powerupId);

+ 18 - 1
Assets/Scripts/GameLogic/Hero/SkillInfo.cs

@@ -1,3 +1,4 @@
+using System;
 using Core.Utility;
 using Excel2Json;
 using Fort23.UTool;
@@ -11,12 +12,28 @@ namespace GameLogic.Hero
         public SkillPowerupConfig SkillPowerupConfig;
 
         public int index;
+        public float[] effectValue;
 
         public SkillInfo(int skillId, int powerId)
         {
             skillConfig = ConfigComponent.Instance.Get<SkillConfig>(skillId);
             SkillPowerupConfig = ConfigComponent.Instance.Get<SkillPowerupConfig>(powerId);
-            qiangDu= (long)(SkillPowerupConfig.MainPower* skillConfig.power);
+            effectValue = new float[skillConfig.effectValue.Length];
+            Array.Copy(skillConfig.effectValue, effectValue, skillConfig.effectValue.Length);
+            if (skillConfig.intensifierIndex != null)
+            {
+                for (int i = 0; i < skillConfig.intensifierIndex.Length; i++)
+                {
+                    int index = skillConfig.intensifierIndex[i]-1;
+                    if(index>=0&&index< effectValue.Length)
+                    {
+                        effectValue[index] = effectValue[index] * SkillPowerupConfig.SkillPower1*0.01f;
+                    }
+                }
+            }
+
+
+            qiangDu = (long)(SkillPowerupConfig.MainPower * skillConfig.power);
             index = 0;
         }
     }

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

@@ -108,7 +108,7 @@ namespace Fort23.Mono
                             this.gf_widget,
                             null,
                             SkillRoot, poolName: "bossWidget", isInstance: true);
-                        gfWidget.InitWidget(minSlots);
+                        gfWidget.InitWidget(minSlots,combatHeroEntity);
                         gfWidget.transform.SetAsLastSibling();
                         currShowGfWidget.Add(gfWidget);
                     }

+ 9 - 3
Assets/Scripts/GameUI/UI/CombatPanel/WuXingGongFaWidget.cs

@@ -17,6 +17,8 @@ namespace Fort23.Mono
 
         // private List<DengDaiSkillWidget> currDengDaiSkill = new List<DengDaiSkillWidget>();
 
+        private WuXingType huangDaoWuXingType;
+
         private void Init()
         {
         }
@@ -28,6 +30,7 @@ namespace Fort23.Mono
             CombatEventManager.Instance.AddEventListener(CombatEventType.UseSkill, UseSkill);
             CombatEventManager.Instance.AddEventListener(CombatEventType.UseSkillFinish, UseSkillFinish);
             CombatEventManager.Instance.AddEventListener(CombatEventType.FillInSkillSlots, FillInSkillSlots);
+          
         }
 
         public override void DelEvent()
@@ -37,6 +40,7 @@ namespace Fort23.Mono
             CombatEventManager.Instance.RemoveEventListener(CombatEventType.UseSkill, UseSkill);
             CombatEventManager.Instance.RemoveEventListener(CombatEventType.UseSkillFinish, UseSkillFinish);
             CombatEventManager.Instance.RemoveEventListener(CombatEventType.FillInSkillSlots, FillInSkillSlots);
+      
         }
 
         public override void AddButtonEvent()
@@ -54,7 +58,7 @@ namespace Fort23.Mono
                     break;
                 case 1:
                     Name.text = "水";
-                 
+
                     myImage.color = new Color(0.19f, 0.51f, 1f);
                     break;
                 case 2:
@@ -72,6 +76,8 @@ namespace Fort23.Mono
             }
         }
 
+      
+
         private void FillInSkillSlots(IEventData iEventData)
         {
             FillInSkillSlotsEventData fillInSkillSlotsEventData = iEventData as FillInSkillSlotsEventData;
@@ -98,14 +104,14 @@ namespace Fort23.Mono
             {
                 return;
             }
-            
+
             SkillBasic skillBasic = combatUseSkillEventData.SkillBasic;
             bool isOk = IsMyWuXing(skillBasic.wuXingType);
             if (!isOk)
             {
                 return;
             }
-            
+
             useSkillIcon.gameObject.SetActive(false);
             // DengDaiSkillWidget dengDaiSkillWidget =
             //     await UIManager.Instance.CreateGComponentForObject<DengDaiSkillWidget>(DengDaiSkillWidget, null,

+ 6 - 2
Assets/Scripts/GameUI/UI/CombatPanel/ZhuanPanPanel.cs

@@ -51,6 +51,8 @@ namespace Fort23.Mono
 
 
             CombatEventManager.Instance.AddEventListener(CombatEventType.TaoismSkillAlter, TaoismSkillAlter);
+            
+           
         }
 
         public override void DelEvent()
@@ -60,6 +62,7 @@ namespace Fort23.Mono
             // CombatEventManager.Instance.RemoveEventListener(CombatEventType.AddUseGongFa, AddUseGongFa);
 
             CombatEventManager.Instance.RemoveEventListener(CombatEventType.TaoismSkillAlter, TaoismSkillAlter);
+          
         }
 
 
@@ -72,7 +75,7 @@ namespace Fort23.Mono
         {
         }
 
-
+    
         private async void ExercisesAlter(IEventData iEventData)
         {
             _gfWidgets.Clear();
@@ -91,7 +94,8 @@ namespace Fort23.Mono
                 gf_widget gfWidget = await UIManager.Instance.CreateGComponentForObject<gf_widget>(this.gf_widget, null,
                     Gf_root, isInstance: true);
                 gfWidget.SkillSlots = skillBasic;
-                gfWidget.InitWidget(skillBasic);
+                gfWidget.InitWidget(skillBasic,CombatController.currActiveCombat.CombatHeroController
+                    .playerHeroEntity);
                 _gfWidgets.Add(gfWidget);
             }
         }

+ 62 - 6
Assets/Scripts/GameUI/UI/CombatPanel/gf_widget.cs

@@ -2,6 +2,7 @@ using Common.Utility.CombatEvent;
 using Fort23.Core;
 using GameLogic.Combat.Hero.Turntable;
 using GameLogic.Combat.Skill;
+using GameLogic.Player;
 using UnityEngine;
 
 namespace Fort23.Mono
@@ -11,12 +12,12 @@ namespace Fort23.Mono
     {
         public SkillSlots SkillSlots;
         public SkillBasic SkillBasic;
-
-
         public float jd;
 
         public int useCount;
+        public WuXingType HuangDaoWuXingType;
 
+        public CombatHeroEntity combatHeroEntity;
         private void Init()
         {
         }
@@ -24,19 +25,65 @@ namespace Fort23.Mono
         public override void AddEvent()
         {
             CombatEventManager.Instance.AddEventListener(CombatEventType.SkillSlotsAlter, SkillSlotsAlter);
+            CombatEventManager.Instance.AddEventListener(CombatEventType.HuangDaoAlterSlots, HuangDaoAlterSlots);
+           
+            
         }
 
         public override void DelEvent()
         {
             CombatEventManager.Instance.RemoveEventListener(CombatEventType.SkillSlotsAlter, SkillSlotsAlter);
+            CombatEventManager.Instance.RemoveEventListener(CombatEventType.HuangDaoAlterSlots, HuangDaoAlterSlots);
         }
+        private void HuangDaoAlterSlots(IEventData iEventData)
+        {
+            HuangDaoAlterSlotsEventData huangDaoAlterSlotsEventData = iEventData as HuangDaoAlterSlotsEventData;
+            if (huangDaoAlterSlotsEventData.CombatHeroEntity != combatHeroEntity||SkillSlots==null)
+            {
+                return;
+            }
+
+            if (huangDaoAlterSlotsEventData.index != SkillSlots.index)
+            {
+                return;
+            }
+
+            HuangDaoWuXingType= huangDaoAlterSlotsEventData.WuXingType;
+            switch ((int)HuangDaoWuXingType)
+            {
+                case 1:
+                    quan.color = new Color(1f, 0.98f, 0.09f);
+                    break;
+                case 2:
+                    quan.color = new Color(0.19f, 0.51f, 1f);
+                
+                    break;
+                case 4:
+                    quan.color = new Color(0.17f, 1f, 0.35f);
+                    break;
+                case 8:
+                    quan.color = new Color(1f, 0.19f, 0.04f);
+                    break;
+                case 16:
+                    quan.color = new Color(1f, 0.65f, 0.17f);
+                    break;
+            }
 
+        }
         public void SkillSlotsAlter(IEventData eventData)
         {
             SkillSlotsAlterEventData skillSlotsAlterEventData = (SkillSlotsAlterEventData)eventData;
             if (skillSlotsAlterEventData.SkillSlots == SkillSlots)
             {
                 SkillBasic = SkillSlots.SkillBasic;
+                if (SkillBasic != null && HuangDaoWuXingType != WuXingType.Null)//有黄道,播放黄道家成表现
+                {
+                    if (PlayerGf_widget != null)
+                    {
+                        PlayerGf_widget.Play("huangdao",false);
+                    }
+                }
+
                 SetUIInfo();
             }
         }
@@ -51,10 +98,17 @@ namespace Fort23.Mono
             {
                 useSkillIcon.transform.parent.gameObject.SetActive(false);
                 quan.color = new Color(1, 1, 1, 0.2f);
-                
+                // if (PlayerGf_widget != null)
+                // {
+                //     PlayerGf_widget.Play("likai",false);
+                // }
+
                 return;
             }
-
+            if (PlayerGf_widget != null)
+            {
+                PlayerGf_widget.Play("enter",false);
+            }
             useSkillIcon.transform.parent.gameObject.SetActive(true);
             useSkillIcon.icon_name = SkillBasic.SelfSkillConfig.icon;
             cd.fillAmount = 0;
@@ -103,15 +157,17 @@ namespace Fort23.Mono
             cd.fillAmount = bl;
         }
 
-        public void InitSkillWidget(SkillBasic SkillBasic)
+        public void InitSkillWidget(SkillBasic SkillBasic,CombatHeroEntity combatHeroEntity)
         {
+            this.combatHeroEntity = combatHeroEntity;
             this.SkillBasic = SkillBasic;
             this.SkillSlots = null;
             SetUIInfo();
         }
 
-        public void InitWidget(SkillSlots skillSlots)
+        public void InitWidget(SkillSlots skillSlots,CombatHeroEntity combatHeroEntity)
         {
+            this.combatHeroEntity = combatHeroEntity;
             this.SkillSlots = skillSlots;
             SkillBasic = skillSlots.SkillBasic;
             SetUIInfo();

+ 13 - 0
Assets/Scripts/GameUI/UI/CombatPanel/gf_widgetData.cs

@@ -3,6 +3,8 @@ using Fort23.UTool;
 using UnityEngine.UI;
 using UnityEngine;
 using System.Collections.Generic;
+using Core.UI.UTool.UITween;
+
 namespace Fort23.Mono
 {
 	public partial class gf_widget 
@@ -41,6 +43,17 @@ namespace Fort23.Mono
 	      return _cd;
 	     }
 	   }
+	  private UITweenController _PlayerGf_widget;
+	  public UITweenController PlayerGf_widget
+	   {
+	   get{
+	      if (_PlayerGf_widget == null)
+	       {
+	         _PlayerGf_widget  = GetUIUnit<UITweenController>("PlayerGf_widget"); 
+	       }
+	      return _PlayerGf_widget;
+	     }
+	   }
 	  #endregion 自定义数据结束 
 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 	{

二進制
Excel2Json/Excel/FabaoConfig.xlsx


二進制
Excel2Json/Excel/HeroModel.xlsx


二進制
Excel2Json/Excel/skill.xlsx


+ 84 - 84
UserSettings/Layouts/default-2022.dwlt

@@ -16,8 +16,8 @@ MonoBehaviour:
     serializedVersion: 2
     x: 8
     y: 51
-    width: 2560
-    height: 1349
+    width: 2544
+    height: 1328
   m_ShowMode: 4
   m_Title: Inspector
   m_RootView: {fileID: 8}
@@ -39,12 +39,12 @@ MonoBehaviour:
   m_Children: []
   m_Position:
     serializedVersion: 2
-    x: 624
+    x: 620
     y: 0
-    width: 722
-    height: 1299
-  m_MinSize: {x: 200, y: 200}
-  m_MaxSize: {x: 4000, y: 4000}
+    width: 717
+    height: 1278
+  m_MinSize: {x: 202, y: 221}
+  m_MaxSize: {x: 4002, y: 4021}
   m_ActualView: {fileID: 20}
   m_Panes:
   - {fileID: 20}
@@ -67,8 +67,8 @@ MonoBehaviour:
     serializedVersion: 2
     x: 0
     y: 0
-    width: 144
-    height: 989
+    width: 143
+    height: 973
   m_MinSize: {x: 100, y: 100}
   m_MaxSize: {x: 4000, y: 4000}
   m_ActualView: {fileID: 14}
@@ -92,9 +92,9 @@ MonoBehaviour:
   m_Position:
     serializedVersion: 2
     x: 0
-    y: 989
-    width: 144
-    height: 310
+    y: 973
+    width: 143
+    height: 305
   m_MinSize: {x: 232, y: 271}
   m_MaxSize: {x: 10002, y: 10021}
   m_ActualView: {fileID: 18}
@@ -119,14 +119,14 @@ MonoBehaviour:
   - {fileID: 4}
   m_Position:
     serializedVersion: 2
-    x: 1346
+    x: 1337
     y: 0
-    width: 144
-    height: 1299
+    width: 143
+    height: 1278
   m_MinSize: {x: 100, y: 100}
   m_MaxSize: {x: 8096, y: 16192}
   vertical: 1
-  controlID: 47
+  controlID: 51
   draggingID: 0
 --- !u!114 &6
 MonoBehaviour:
@@ -143,10 +143,10 @@ MonoBehaviour:
   m_Children: []
   m_Position:
     serializedVersion: 2
-    x: 2069
+    x: 2055
     y: 0
-    width: 491
-    height: 1299
+    width: 489
+    height: 1278
   m_MinSize: {x: 276, y: 71}
   m_MaxSize: {x: 4001, y: 4021}
   m_ActualView: {fileID: 17}
@@ -172,16 +172,16 @@ MonoBehaviour:
     serializedVersion: 2
     x: 0
     y: 0
-    width: 624
-    height: 1299
-  m_MinSize: {x: 201, y: 221}
-  m_MaxSize: {x: 4001, y: 4021}
+    width: 620
+    height: 1278
+  m_MinSize: {x: 200, y: 200}
+  m_MaxSize: {x: 4000, y: 4000}
   m_ActualView: {fileID: 19}
   m_Panes:
   - {fileID: 19}
   - {fileID: 13}
   m_Selected: 0
-  m_LastSelected: 0
+  m_LastSelected: 1
 --- !u!114 &8
 MonoBehaviour:
   m_ObjectHideFlags: 52
@@ -202,8 +202,8 @@ MonoBehaviour:
     serializedVersion: 2
     x: 0
     y: 0
-    width: 2560
-    height: 1349
+    width: 2544
+    height: 1328
   m_MinSize: {x: 875, y: 300}
   m_MaxSize: {x: 10000, y: 10000}
   m_UseTopView: 1
@@ -227,7 +227,7 @@ MonoBehaviour:
     serializedVersion: 2
     x: 0
     y: 0
-    width: 2560
+    width: 2544
     height: 30
   m_MinSize: {x: 0, y: 0}
   m_MaxSize: {x: 0, y: 0}
@@ -254,12 +254,12 @@ MonoBehaviour:
     serializedVersion: 2
     x: 0
     y: 30
-    width: 2560
-    height: 1299
+    width: 2544
+    height: 1278
   m_MinSize: {x: 500, y: 100}
   m_MaxSize: {x: 40480, y: 16192}
   vertical: 0
-  controlID: 19642
+  controlID: 40
   draggingID: 0
 --- !u!114 &11
 MonoBehaviour:
@@ -277,8 +277,8 @@ MonoBehaviour:
   m_Position:
     serializedVersion: 2
     x: 0
-    y: 1329
-    width: 2560
+    y: 1308
+    width: 2544
     height: 20
   m_MinSize: {x: 0, y: 0}
   m_MaxSize: {x: 0, y: 0}
@@ -297,10 +297,10 @@ MonoBehaviour:
   m_Children: []
   m_Position:
     serializedVersion: 2
-    x: 1490
+    x: 1480
     y: 0
-    width: 579
-    height: 1299
+    width: 575
+    height: 1278
   m_MinSize: {x: 202, y: 221}
   m_MaxSize: {x: 4002, y: 4021}
   m_ActualView: {fileID: 16}
@@ -328,10 +328,10 @@ MonoBehaviour:
     m_Tooltip: 
   m_Pos:
     serializedVersion: 2
-    x: 0
-    y: 73
-    width: 935
-    height: 1278
+    x: 8
+    y: 81
+    width: 619
+    height: 1257
   m_SerializedDataModeController:
     m_DataMode: 0
     m_PreferredDataMode: 0
@@ -438,10 +438,10 @@ MonoBehaviour:
     m_Tooltip: 
   m_Pos:
     serializedVersion: 2
-    x: 1354
+    x: 1345
     y: 81
-    width: 142
-    height: 968
+    width: 141
+    height: 952
   m_SerializedDataModeController:
     m_DataMode: 0
     m_PreferredDataMode: 0
@@ -515,10 +515,10 @@ MonoBehaviour:
     m_Tooltip: 
   m_Pos:
     serializedVersion: 2
-    x: 1498
+    x: 1488
     y: 81
-    width: 577
-    height: 1278
+    width: 573
+    height: 1257
   m_SerializedDataModeController:
     m_DataMode: 0
     m_PreferredDataMode: 0
@@ -531,21 +531,21 @@ MonoBehaviour:
     m_OverlaysVisible: 1
   m_SceneHierarchy:
     m_TreeViewState:
-      scrollPos: {x: 0, y: 279}
+      scrollPos: {x: 0, y: 0}
       m_SelectedIDs: 
       m_LastClickedID: 0
-      m_ExpandedIDs: ee65f8fff465f8ff460cf9ff1e0df9ff9818f9ffc619f9ff561ef9ff021ff9ff721ff9ff423efaff483efaffcc3efaff2e3ffaff9c3ffaffaa3ffaff72a2faff88a2faff40a7faff62a8faffc2a8faffc8a8faff4ca9faffaea9faff1caafaff2aaafaff10bcfbff26bcfbffdabefbffe0befbffc6bffbff28c1fbff88c1fbff8ec1fbff12c2fbff74c2fbffe2c2fbfff0c2fbff2455fcff64ddfcff66ddfcff4ae0fcfff8eafcff062bfdff8859fdffe8f1ffff72f2ffff76f2ffff84f2ffffa6f2ffffc4f2ffffc8f2ffff28f3ffff2cf3ffff94f3ffffacf3ffffb2f3ffffccf3ffffeef5fffffcf5fffff6f8ffff0cf9ffff66faffffd2b10000
+      m_ExpandedIDs: 7c25f9ff3a2af9ff9a2af9ffa02af9ff242bf9ff862bf9ff7854f9ff7e54f9ff6455f9ff7255f9ff2081fbff2681fbffcc0efcffe20efcfff00efcff8813fcff3615fcffa41cfcffaa1cfcff901dfcff9e1dfcff8e4ffcffb44ffcffca4ffcff2850fcff9e50fcff3255fcffe056fcff765efcff7c5efcff625ffcff705ffcfffa6cfcff006dfcffa0a5fcffa2a5fcffd2acfdffe8acfdffeab5fdff08b7fdff6ab7fdffecbefdfff2befdffd8bffdffe6bffdff9a85feffd4e1ffffe2e1ffffacecffff86eeffff8ceeffffbceeffffbaf2ffffc8f2ffff58f3ffff5ef3ffffacf3ffff0ef4ffff12f4ffff72f4ffff78f4fffffcf4ffff5cf5ffff66faffff
       m_RenameOverlay:
         m_UserAcceptedRename: 0
-        m_Name: cd
-        m_OriginalName: cd
+        m_Name: bnt_shengShi
+        m_OriginalName: bnt_shengShi
         m_EditFieldRect:
           serializedVersion: 2
           x: 0
           y: 0
           width: 0
           height: 0
-        m_UserData: -455608
+        m_UserData: -2728
         m_IsWaitingForDelay: 0
         m_IsRenaming: 0
         m_OriginalEventType: 0
@@ -578,10 +578,10 @@ MonoBehaviour:
     m_Tooltip: 
   m_Pos:
     serializedVersion: 2
-    x: 2077
+    x: 2063
     y: 81
-    width: 490
-    height: 1278
+    width: 488
+    height: 1257
   m_SerializedDataModeController:
     m_DataMode: 0
     m_PreferredDataMode: 0
@@ -625,10 +625,10 @@ MonoBehaviour:
     m_Tooltip: 
   m_Pos:
     serializedVersion: 2
-    x: 1354
-    y: 1070
-    width: 142
-    height: 289
+    x: 1345
+    y: 1054
+    width: 141
+    height: 284
   m_SerializedDataModeController:
     m_DataMode: 0
     m_PreferredDataMode: 0
@@ -650,7 +650,7 @@ MonoBehaviour:
     m_SkipHidden: 1
     m_SearchArea: 1
     m_Folders:
-    - Assets/Scripts/GameLogic/Combat/Hero
+    - Assets/Scripts/GameLogic/Equipment
     m_Globs: []
     m_OriginalText: 
     m_ImportLogFlags: 0
@@ -658,16 +658,16 @@ MonoBehaviour:
   m_ViewMode: 1
   m_StartGridSize: 16
   m_LastFolders:
-  - Assets/Scripts/GameLogic/Combat/Hero
+  - Assets/Scripts/GameLogic/Equipment
   m_LastFoldersGridSize: 16
   m_LastProjectPath: D:\unityProject\XiuXianGame
   m_LockTracker:
     m_IsLocked: 0
   m_FolderTreeState:
-    scrollPos: {x: 0, y: 1395}
-    m_SelectedIDs: 8a1e0200
-    m_LastClickedID: 138890
-    m_ExpandedIDs: 00000000febe000000bf000002bf000004bf000006bf000008bf00000abf00000cbf00000ebf000010bf000012bf000014bf000016bf000018bf00001abf00001cbf00001ebf000020bf000022bf000024bf000026bf000028bf00002abf00002cbf0000aac1000000ca9a3bffffff7f
+    scrollPos: {x: 0, y: 1832}
+    m_SelectedIDs: 76c10000
+    m_LastClickedID: 49526
+    m_ExpandedIDs: 000000009abe00009cbe00009ebe0000a0be0000a2be0000a4be0000a6be0000a8be0000aabe0000acbe0000aebe0000b0be0000b2be0000b4be0000b6be0000b8be0000babe0000bcbe0000bebe0000c0be0000c2be0000c4be0000c6be000014c1000046c100005ec1000060c1000086c1000000ca9a3bffffff7f
     m_RenameOverlay:
       m_UserAcceptedRename: 0
       m_Name: 
@@ -695,7 +695,7 @@ MonoBehaviour:
     scrollPos: {x: 0, y: 0}
     m_SelectedIDs: 
     m_LastClickedID: 0
-    m_ExpandedIDs: 00000000febe000000bf000002bf000004bf000006bf000008bf00000abf00000cbf00000ebf000010bf000012bf000014bf000016bf000018bf00001abf00001cbf00001ebf000020bf000022bf000024bf000026bf000028bf00002abf00002cbf0000
+    m_ExpandedIDs: 000000009abe00009cbe00009ebe0000a0be0000a2be0000a4be0000a6be0000a8be0000aabe0000acbe0000aebe0000b0be0000b2be0000b4be0000b6be0000b8be0000babe0000bcbe0000bebe0000c0be0000c2be0000c4be0000c6be0000
     m_RenameOverlay:
       m_UserAcceptedRename: 0
       m_Name: 
@@ -747,10 +747,10 @@ MonoBehaviour:
       m_Icon: {fileID: 0}
       m_ResourceFile: 
     m_NewAssetIndexInList: -1
-    m_ScrollPosition: {x: 0, y: 103}
+    m_ScrollPosition: {x: 0, y: 0}
     m_GridSize: 16
   m_SkipHiddenPackages: 1
-  m_DirectoriesAreaWidth: 92
+  m_DirectoriesAreaWidth: 91
 --- !u!114 &19
 MonoBehaviour:
   m_ObjectHideFlags: 52
@@ -773,8 +773,8 @@ MonoBehaviour:
     serializedVersion: 2
     x: 8
     y: 81
-    width: 623
-    height: 1278
+    width: 619
+    height: 1257
   m_SerializedDataModeController:
     m_DataMode: 0
     m_PreferredDataMode: 0
@@ -827,23 +827,23 @@ MonoBehaviour:
       serializedVersion: 2
       x: 0
       y: 21
-      width: 623
-      height: 1257
-    m_Scale: {x: 0.7740148, y: 0.7740148}
-    m_Translation: {x: 311.5, y: 628.5}
+      width: 619
+      height: 1236
+    m_Scale: {x: 0.7610837, y: 0.7610837}
+    m_Translation: {x: 309.5, y: 618}
     m_MarginLeft: 0
     m_MarginRight: 0
     m_MarginTop: 0
     m_MarginBottom: 0
     m_LastShownAreaInsideMargins:
       serializedVersion: 2
-      x: -402.4471
+      x: -406.65698
       y: -812
-      width: 804.8942
+      width: 813.31396
       height: 1624
     m_MinimalGUI: 1
-  m_defaultScale: 0.7740148
-  m_LastWindowPixelSize: {x: 623, y: 1278}
+  m_defaultScale: 0.7610837
+  m_LastWindowPixelSize: {x: 619, y: 1257}
   m_ClearInEditMode: 1
   m_NoCameraWarning: 1
   m_LowResolutionForAspectRatios: 01000000000000000000
@@ -869,10 +869,10 @@ MonoBehaviour:
     m_Tooltip: 
   m_Pos:
     serializedVersion: 2
-    x: 632
+    x: 628
     y: 81
-    width: 720
-    height: 1278
+    width: 715
+    height: 1257
   m_SerializedDataModeController:
     m_DataMode: 0
     m_PreferredDataMode: 0
@@ -1244,9 +1244,9 @@ MonoBehaviour:
   m_PlayAudio: 0
   m_AudioPlay: 0
   m_Position:
-    m_Target: {x: -0.6307365, y: -0.41716468, z: -0.01976281}
+    m_Target: {x: -1.5251694, y: 3.528325, z: 0}
     speed: 2
-    m_Value: {x: -0.6307365, y: -0.41716468, z: -0.01976281}
+    m_Value: {x: -1.5251694, y: 3.528325, z: 0}
   m_RenderMode: 0
   m_CameraMode:
     drawMode: 0
@@ -1296,9 +1296,9 @@ MonoBehaviour:
     speed: 2
     m_Value: {x: 0, y: 0, z: 0, w: 1}
   m_Size:
-    m_Target: 2.8423035
+    m_Target: 10
     speed: 2
-    m_Value: 2.8423035
+    m_Value: 10
   m_Ortho:
     m_Target: 1
     speed: 2
@@ -1318,7 +1318,7 @@ MonoBehaviour:
     m_OcclusionCulling: 0
     m_EnableGDRP: 1
     m_BackfaceCulling: 0
-  m_LastSceneViewRotation: {x: -0.00013747625, y: 1.000145, z: -0.0048106136, w: 0.0002849014}
+  m_LastSceneViewRotation: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
   m_LastSceneViewOrtho: 0
   m_ReplacementShader: {fileID: 0}
   m_ReplacementString: 

部分文件因文件數量過多而無法顯示