From 243044702c6a743e57d322e5ca538d9897919026 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 11 十二月 2025 10:25:53 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/MainLevel/MainLevelDropCell.cs | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/Main/System/MainLevel/MainLevelDropCell.cs b/Main/System/MainLevel/MainLevelDropCell.cs
index 3a4f34e..af83a4a 100644
--- a/Main/System/MainLevel/MainLevelDropCell.cs
+++ b/Main/System/MainLevel/MainLevelDropCell.cs
@@ -52,8 +52,15 @@
}
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