From fbc7f855aa676d2a623bec2cfb07e19d91b6bc26 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期二, 20 一月 2026 16:49:23 +0800
Subject: [PATCH] 411 定军阁-客户端 开出展示npc配置,隐藏敌将信息按钮,隐藏定军阁战场血条相关信息

---
 Main/System/MainLevel/MainLevelDropCell.cs |   28 +++++++++++++++++++++-------
 1 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/Main/System/MainLevel/MainLevelDropCell.cs b/Main/System/MainLevel/MainLevelDropCell.cs
index 253f53e..78bf0af 100644
--- a/Main/System/MainLevel/MainLevelDropCell.cs
+++ b/Main/System/MainLevel/MainLevelDropCell.cs
@@ -39,18 +39,32 @@
         {
             lockImg.SetActive(false);
             int maxValue = 0;
-            for (int i = 0; i < config.DailyBootyUpperList.Length; i++)
-            {
-                if (config.DailyBootyUpperList[i][0] == itemID)
+            if (config.DailyBootyUpperList != null)
+            { 
+                for (int i = 0; i < config.DailyBootyUpperList.Length; i++)
                 {
-                    maxValue = config.DailyBootyUpperList[i][1];
-                    break;
+                    if (config.DailyBootyUpperList[i][0] == itemID)
+                    {
+                        maxValue = config.DailyBootyUpperList[i][1];
+                        if (maxValue < 1000000000)
+                        {
+                            maxValue += (int)(maxValue * (BeautyMMManager.Instance.GetTalentEffectByType(TalentEffectType.MainLine) *1f/100));
+                        }
+                        break;
+                    }
                 }
             }
             int curValue = 0;
             MainLevelManager.Instance.m_DailyBootyDict.TryGetValue(itemID, out curValue);
-            dropValueText.text = UIHelper.AppendColor(curValue >= maxValue ? TextColType.Red : TextColType.Green,
-            UIHelper.ReplaceLargeNum(curValue) + "/" + UIHelper.ReplaceLargeNum(maxValue));
+            if (maxValue > 1000000000)
+            {
+                dropValueText.text = UIHelper.AppendColor(TextColType.Green, UIHelper.ReplaceLargeNum(curValue) + "/" + Language.Get("L1138"));
+            }
+            else
+            {
+                dropValueText.text = UIHelper.AppendColor(curValue >= maxValue ? TextColType.Red : TextColType.Green,
+                UIHelper.ReplaceLargeNum(curValue) + "/" + UIHelper.ReplaceLargeNum(maxValue));
+            }
             
         }
     }

--
Gitblit v1.8.0