lzx hace 1 día
padre
commit
31e620a182

+ 2 - 2
Assets/Res/UI/DaoYouPanel/DaoYouInfoPanel.prefab

@@ -5649,8 +5649,8 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 1, y: 1}
-  m_AnchoredPosition: {x: 51.2, y: 46.3}
-  m_SizeDelta: {x: -376.9757, y: -121.0629}
+  m_AnchoredPosition: {x: 114.20224, y: 46.3}
+  m_SizeDelta: {x: -250.9713, y: -121.0629}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!222 &3083184688055421892
 CanvasRenderer:

+ 4 - 4
Assets/Scripts/GameUI/UI/DaoYouPanel/DaoYouInfoPanel.cs

@@ -597,10 +597,10 @@ namespace Fort23.Mono
             if (widgetItem1 != null && daoyouGiftConfig.ID != 0)
             {
                 Text_GiveGiftDesc.text = LanguageManager.Instance.Text(10289, daoyouGiftConfig.emotionValue,
-                    daoyouGiftConfig.emotionValue * emotionConfig.hanganUpRate[0] *
-                    PlayerManager.Instance.gameConstantConfig.daolvfavoratePara * 0.01f * 0.001,
-                    daoyouGiftConfig.emotionValue * emotionConfig.hanganUpRate[1] *
-                    PlayerManager.Instance.gameConstantConfig.daolvfavoratePara * 0.01f * 0.001);
+                    (daoyouGiftConfig.emotionValue * emotionConfig.hanganUpRate[0] *
+                     PlayerManager.Instance.gameConstantConfig.daolvfavoratePara * 0.01f * 0.001).ToString("0.0"),
+                    (daoyouGiftConfig.emotionValue * emotionConfig.hanganUpRate[1] *
+                     PlayerManager.Instance.gameConstantConfig.daolvfavoratePara * 0.01f * 0.001).ToString("0.0"));
             }
             else if (widgetItem1 != null && daoyouGiftConfig.ID == 0)
             {