From bc9fafd6be40a607ede9b6b4119ea6819d1b7e9f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 16 一月 2026 16:01:51 +0800
Subject: [PATCH] 287 【公会】BOSS讨伐 - 奖励界面伤害记录最新的排在上面;属性界面超过亿才缩写显示
---
Main/Config/PartialConfigs/PlayerPropertyConfig.cs | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/Main/Config/PartialConfigs/PlayerPropertyConfig.cs b/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
index ba9ba53..aea6967 100644
--- a/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
+++ b/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
@@ -135,7 +135,7 @@
- //largeNumFormat 澶ф暟鍊兼牸寮忥細0 榛樿鍘熸暟鍊� 1 鎸変竾鎴栬��(K)鏄剧ず 2 鎸�6浣嶆暟浠ヤ笂锛堟墠杞崲澶ф暟鍊硷紝鏍规嵁鎯呭喌鍙粺涓�璋冩暣锛�
+ //largeNumFormat 澶ф暟鍊兼牸寮忥細0 榛樿鍘熸暟鍊� 1 鎸変竾鎴栬��(K)鏄剧ず 2 鎸�6浣嶆暟浠ヤ笂锛堟墠杞崲澶ф暟鍊硷紝鏍规嵁鎯呭喌鍙粺涓�璋冩暣锛�3 瓒呰繃浜跨缉鍐�
public static string GetValueDescription(int id, long value, int largeNumFormat = 2)
{
return GetValueDescriptionEx(id, value, largeNumFormat);
@@ -185,6 +185,17 @@
label = result.ToString();
}
}
+ else if (largeNumFormat == 3)
+ {
+ if (result > 100000000)
+ {
+ label = UIHelper.ReplaceLargeNum(result);
+ }
+ else
+ {
+ label = result.ToString();
+ }
+ }
else
{
label = result.ToString();
--
Gitblit v1.8.0