Browse Source

修改bug

lzx 4 days ago
parent
commit
407fe23a4c

+ 1 - 1
Assets/Art/VFX/Materials/UIMat/ui_ob_yindao_glow_add.mat

@@ -57,7 +57,7 @@ Material:
         m_Offset: {x: 0, y: 0}
     m_Ints: []
     m_Floats:
-    - _Alpha: 0.5207902
+    - _Alpha: 0.9895201
     - _AlphaCutoff: 0.5
     - _ColorMask: 15
     - _EnableExternalAlpha: 0

+ 1 - 1
Assets/Art/VFX/Materials/UIMat/ui_ob_yindao_quan.mat

@@ -57,7 +57,7 @@ Material:
         m_Offset: {x: 0, y: 0}
     m_Ints: []
     m_Floats:
-    - _Alpha: 0.2276597
+    - _Alpha: 0.9541826
     - _AlphaCutoff: 0.5
     - _ColorMask: 0
     - _EnableExternalAlpha: 0

+ 2 - 2
Assets/Art/VFX/Materials/UIMat/ui_renwu_lg.mat

@@ -57,13 +57,13 @@ Material:
         m_Offset: {x: 0, y: 0}
     m_Ints: []
     m_Floats:
-    - _Alpha: 0.21369332
+    - _Alpha: 0.16708773
     - _AlphaCutoff: 0.5
     - _ColorMask: 15
     - _EnableExternalAlpha: 0
     - _MainSpeedU: 0.5
     - _MainSpeedV: 0.5
-    - _MainTexOffsetU: 0.19573247
+    - _MainTexOffsetU: 0.25332355
     - _MainTexOffsetV: 0
     - _MainTilingU: 0.8
     - _MainTilingV: 1

+ 15 - 15
Assets/Res/Config/EventConfig.json

@@ -2721,8 +2721,8 @@
       "placeID": 1,
       "SmallPlacesId": 0,
       "XiantuID": 0,
-      "EventName": 0,
-      "Description": 0
+      "EventName": 4379,
+      "Description": 4380
     },
     {
       "ID": 30004,
@@ -2742,8 +2742,8 @@
       "placeID": 2,
       "SmallPlacesId": 0,
       "XiantuID": 0,
-      "EventName": 0,
-      "Description": 0
+      "EventName": 4381,
+      "Description": 4382
     },
     {
       "ID": 30005,
@@ -2763,8 +2763,8 @@
       "placeID": 2,
       "SmallPlacesId": 0,
       "XiantuID": 0,
-      "EventName": 0,
-      "Description": 0
+      "EventName": 4383,
+      "Description": 4384
     },
     {
       "ID": 30006,
@@ -2784,8 +2784,8 @@
       "placeID": 2,
       "SmallPlacesId": 0,
       "XiantuID": 0,
-      "EventName": 0,
-      "Description": 0
+      "EventName": 4385,
+      "Description": 4386
     },
     {
       "ID": 30007,
@@ -2805,8 +2805,8 @@
       "placeID": 3,
       "SmallPlacesId": 0,
       "XiantuID": 0,
-      "EventName": 0,
-      "Description": 0
+      "EventName": 4387,
+      "Description": 4388
     },
     {
       "ID": 30008,
@@ -2826,8 +2826,8 @@
       "placeID": 3,
       "SmallPlacesId": 0,
       "XiantuID": 0,
-      "EventName": 0,
-      "Description": 0
+      "EventName": 4389,
+      "Description": 4390
     },
     {
       "ID": 30009,
@@ -2903,8 +2903,8 @@
       "placeID": 2,
       "SmallPlacesId": 0,
       "XiantuID": 0,
-      "EventName": 0,
-      "Description": 0
+      "EventName": 4391,
+      "Description": 4392
     },
     {
       "ID": 30012,
@@ -2930,7 +2930,7 @@
       "SmallPlacesId": 0,
       "XiantuID": 0,
       "EventName": 4378,
-      "Description": 0
+      "Description": 4393
     },
     {
       "ID": 30013,

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

@@ -14554,63 +14554,63 @@
     },
     {
       "ID": 4379,
-      "txt": ""
+      "txt": "妖兽横行"
     },
     {
       "ID": 4380,
-      "txt": ""
+      "txt": "击败妖兽"
     },
     {
       "ID": 4381,
-      "txt": ""
+      "txt": "后山小妖"
     },
     {
       "ID": 4382,
-      "txt": ""
+      "txt": "击败妖兽"
     },
     {
       "ID": 4383,
-      "txt": ""
+      "txt": "夜袭的妖兽"
     },
     {
       "ID": 4384,
-      "txt": ""
+      "txt": "击败妖兽"
     },
     {
       "ID": 4385,
-      "txt": ""
+      "txt": "顶峰的妖王"
     },
     {
       "ID": 4386,
-      "txt": ""
+      "txt": "击败妖兽"
     },
     {
       "ID": 4387,
-      "txt": ""
+      "txt": "仙山的阵眼妖兽"
     },
     {
       "ID": 4388,
-      "txt": ""
+      "txt": "击败妖兽"
     },
     {
       "ID": 4389,
-      "txt": ""
+      "txt": "天肥"
     },
     {
       "ID": 4390,
-      "txt": ""
+      "txt": "击败妖兽获得天肥"
     },
     {
       "ID": 4391,
-      "txt": ""
+      "txt": "灵草种子"
     },
     {
       "ID": 4392,
-      "txt": ""
+      "txt": "采集灵草种子"
     },
     {
       "ID": 4393,
-      "txt": ""
+      "txt": "获取甘露"
     },
     {
       "ID": 4394,
@@ -38790,43 +38790,43 @@
     },
     {
       "ID": 10438,
-      "txt": "浪涌沙轻海风扬,天蓝水阔意茫茫。"
+      "txt": "浪涌云衔鸥影翩"
     },
     {
       "ID": 10439,
-      "txt": "奇花异草绕幽径,神秘气息引探行。"
+      "txt": "石漱仙音径隐幽"
     },
     {
       "ID": 10440,
-      "txt": "碧波之上浮岛奇,珍禽异草梦如诗。"
+      "txt": "雾锁蓬莱鹤自巡"
     },
     {
       "ID": 10441,
-      "txt": "幽暗深蓝藏秘境,奇光异影梦魂萦。"
+      "txt": "渊藏龙澜岁痕深"
     },
     {
       "ID": 10442,
-      "txt": "尧都宫阙接云霞,万民朝拜共繁华。"
+      "txt": "尧城鼎峙接云衢"
     },
     {
       "ID": 10443,
-      "txt": "尧都山林翠色深,清泉鸟鸣隐仙音。"
+      "txt": "苍峦叠翠隐仙庐"
     },
     {
       "ID": 10444,
-      "txt": "尧都郊外稻花香,牧童横笛伴夕阳。"
+      "txt": "野旷风清稻浪铺"
     },
     {
       "ID": 10445,
-      "txt": "雾锁山门苔径深,凡尘未净望云岑。"
+      "txt": "雾锁青阶隐仙踪"
     },
     {
       "ID": 10446,
-      "txt": "石滑风急步难行,叶隙灵光引仙登。"
+      "txt": "云缠曲径破千重"
     },
     {
       "ID": 10447,
-      "txt": "千辛踏尽见仙庭,一念逍遥万念宁。"
+      "txt": "霞照琼台接九重"
     },
     {
       "ID": 10448,

+ 1 - 1
Assets/Res/UI/DivineSence/DivineSenceRestoredWidget.prefab

@@ -118,7 +118,7 @@ RectTransform:
   m_AnchorMin: {x: 0, y: 1}
   m_AnchorMax: {x: 0, y: 1}
   m_AnchoredPosition: {x: 189.53296, y: -49.37755}
-  m_SizeDelta: {x: 108, y: 96.45}
+  m_SizeDelta: {x: 0, y: 96.45}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!222 &5304083428607473890
 CanvasRenderer:

+ 1 - 1
Assets/Res/UI/SentimentPanel/SentimentInfoPanel.prefab

@@ -2700,7 +2700,7 @@ PrefabInstance:
       objectReference: {fileID: 0}
     - target: {fileID: 8879216144060700877, guid: 9d4f51c4bf9f70844814409f339d6203, type: 3}
       propertyPath: m_SizeDelta.x
-      value: 77
+      value: 0
       objectReference: {fileID: 0}
     - target: {fileID: 8879216144060700877, guid: 9d4f51c4bf9f70844814409f339d6203, type: 3}
       propertyPath: m_SizeDelta.y

+ 1 - 1
Assets/Res/UI/ShopPanel/ShopItemWidgetType2.prefab

@@ -38,7 +38,7 @@ RectTransform:
   m_AnchorMin: {x: 0, y: 1}
   m_AnchorMax: {x: 0, y: 1}
   m_AnchoredPosition: {x: 115.51595, y: -23.732}
-  m_SizeDelta: {x: 57, y: 46.2139}
+  m_SizeDelta: {x: 0, y: 46.2139}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!222 &5356034030161481726
 CanvasRenderer:

+ 5 - 5
Assets/Res/UI/SkillSelectPanel/SkillSelectPanel.prefab

@@ -327,7 +327,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 0
+  m_IsActive: 1
 --- !u!224 &3509861318896561903
 RectTransform:
   m_ObjectHideFlags: 0
@@ -341,11 +341,11 @@ RectTransform:
   m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 2894239996624351365}
-  m_Father: {fileID: 6694772361877173011}
+  m_Father: {fileID: 6870355629153732168}
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 1}
   m_AnchorMax: {x: 0, y: 1}
-  m_AnchoredPosition: {x: 292, y: -661.39}
+  m_AnchoredPosition: {x: 225, y: -312}
   m_SizeDelta: {x: 184.1, y: 51.8}
   m_Pivot: {x: 0, y: 0.5}
 --- !u!222 &1203846129011065506
@@ -2104,7 +2104,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0.5, y: 1}
   m_AnchorMax: {x: 0.5, y: 1}
-  m_AnchoredPosition: {x: 214, y: 211}
+  m_AnchoredPosition: {x: 214, y: 284}
   m_SizeDelta: {x: 142.5, y: 47}
   m_Pivot: {x: 0, y: 0.5}
 --- !u!222 &3966226649241584167
@@ -3174,7 +3174,6 @@ RectTransform:
   - {fileID: 50435170631078031}
   - {fileID: 6870355629153732168}
   - {fileID: 6565763541845300463}
-  - {fileID: 3509861318896561903}
   - {fileID: 4244019806394961563}
   - {fileID: 38430995020534155}
   - {fileID: 3727605509090450065}
@@ -5966,6 +5965,7 @@ RectTransform:
   m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 4487645842108660236}
+  - {fileID: 3509861318896561903}
   - {fileID: 626305634221636739}
   - {fileID: 4539129630901987991}
   - {fileID: 4735643001707298055}

+ 17 - 0
Assets/Scripts/GameUI/UI/ComBatFrontPanel/ComBatFrontWidget.cs

@@ -35,6 +35,23 @@ namespace Fort23.Mono
             _combatHero = combatHeroInfo;
 
             Text_Name.text = LanguageManager.Instance.Text(combatHeroInfo.modelConfig.name);
+            
+            
+            // //玩家等级
+            // if (groupConfig.GroupMonsterLevel == null || groupConfig.GroupMonsterLevel[i] == -1)
+            // {
+            //     MonsterPowerUpConfig heroPowerUpConfig =
+            //         ConfigComponent.Instance.Get<MonsterPowerUpConfig>(eventList.heroLevel);
+            //
+            //     combatHeroInfo.InitMonster(heroModelConfig.ID, heroPowerUpConfig.ID);
+            // }
+            // else
+            // {
+            //     MonsterPowerUpConfig heroPowerUpConfig =
+            //         ConfigComponent.Instance.Get<MonsterPowerUpConfig>(groupConfig.GroupMonsterLevel[i]);
+            //
+            //     combatHeroInfo.InitMonster(heroModelConfig.ID, heroPowerUpConfig.ID);
+            // }
 
             Text_Jingjie.text =
                 LanguageManager.Instance.Text(combatHeroInfo.MonsterPowerUpConfig.jingjie1) +

+ 5 - 4
Assets/Scripts/GameUI/UI/CombatPanel/SkillSelectPanel.cs

@@ -400,8 +400,8 @@ namespace Fort23.Mono
         private void UpdateSaixuanBtnState()
         {
             Btn_Jin.transform.IsGray((type2 != 1 && type2 != 0) || type1 == 2);
-            Btn_Mu.transform.IsGray((type2 != 2 && type2 != 0) || type1 == 2);
-            Btn_Shui.transform.IsGray((type2 != 4 && type2 != 0) || type1 == 2);
+            Btn_Mu.transform.IsGray((type2 != 4 && type2 != 0) || type1 == 2);
+            Btn_Shui.transform.IsGray((type2 != 2 && type2 != 0) || type1 == 2);
             Btn_Huo.transform.IsGray((type2 != 8 && type2 != 0) || type1 == 2);
             Btn_Tu.transform.IsGray((type2 != 16 && type2 != 0) || type1 == 2);
         }
@@ -579,8 +579,9 @@ namespace Fort23.Mono
         List<List<int>> indexList = new List<List<int>>()
         {
             new List<int>() { 9, 8, 7 }, //金
-            new List<int>() { 7, 6, 5 }, //木
-            new List<int>() { 1, 0, 9 }, //水
+            new List<int>() { 1, 0, 9 }, //木
+            new List<int>() { 7, 6, 5 }, //水
+          
             new List<int>() { 5, 4, 3 }, //火
             new List<int>() { 7, 6, 5 }, //土
             new List<int>() { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, //辅助

+ 9 - 9
Assets/Scripts/GameUI/UI/CombatPanel/SkillWidget.cs

@@ -139,15 +139,15 @@ namespace Fort23.Mono
                     csc.ChangeState(1);
                     break;
             }
-
-            if (PlayerManager.Instance.GongFaControl.allUseSkill.Contains(skillConfigId))
-            {
-                redDotComType01.CustomInit(2, skillConfigId);
-            }
-            else
-            {
-                redDotComType01.CustomInit(2, null);
-            }
+            redDotComType01.CustomInit(2, skillConfigId);
+            // if (PlayerManager.Instance.GongFaControl.allUseSkill.Contains(skillConfigId))
+            // {
+            //     redDotComType01.CustomInit(2, skillConfigId);
+            // }
+            // else
+            // {
+            //     redDotComType01.CustomInit(2, null);
+            // }
 
          
         }

+ 12 - 1
Assets/Scripts/GameUI/UI/MainHeroPnael/ItemWidgetType1.cs

@@ -9,6 +9,8 @@ namespace Fort23.Mono
     [UIBinding(prefab = "ItemWidgetType1")]
     public partial class ItemWidgetType1 : UIComponent
     {
+        private Color32 color;
+
         private void Init()
         {
         }
@@ -46,7 +48,16 @@ namespace Fort23.Mono
             }
 
 
-            Text_Count.text = $"{PlayerManager.Instance.BagController.GetItemCount(id).ToStringEx()}/{count}";
+            if (count > PlayerManager.Instance.BagController.GetItemCount(id))
+            {
+                Text_Count.text =
+                    $"{PlayerManager.Instance.BagController.GetItemCount(id).ToStringEx()}/<color=red>{count}</color>";
+            }
+            else
+            {
+                Text_Count.text = $"{PlayerManager.Instance.BagController.GetItemCount(id).ToStringEx()}/{count}";
+            }
+
             LayoutRebuilder.ForceRebuildLayoutImmediate(Text_Count.GetComponent<RectTransform>());
             LayoutRebuilder.ForceRebuildLayoutImmediate(transform);
         }

+ 1 - 1
Assets/Scripts/GameUI/UI/SentimentPanel/SentimentInfoPanel.cs

@@ -118,7 +118,7 @@ namespace Fort23.Mono
                 SentimentEffectConfig sentimentEffectConfig =
                     ConfigComponent.Instance.Get<SentimentEffectConfig>(conFigId);
 
-                if (PlayerManager.Instance.BagController.DeductItem(sentimentEffectConfig.upConstItemId,
+                if (!PlayerManager.Instance.BagController.DeductItem(sentimentEffectConfig.upConstItemId,
                         sentimentEffectConfig.upConstCount))
                 {
                     ItemSourcePanel.OpenPanel(sentimentEffectConfig.upConstItemId);