From a1685a61a830658c021cae5c23cd0d3355f617a9 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 24 十二月 2025 18:58:36 +0800
Subject: [PATCH] 0312 吞噬界面显示全体属性文字
---
Main/Config/PartialConfigs/PlayerPropertyConfig.cs | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/Main/Config/PartialConfigs/PlayerPropertyConfig.cs b/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
index 5a65d14..401630f 100644
--- a/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
+++ b/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
@@ -106,6 +106,33 @@
}
}
+ public static string GetBaseFullDescription(int id, long value, string format="{0}+{1}")
+ {
+ var config = Get(id);
+ if (config == null)
+ {
+ return string.Empty;
+ }
+ string showName = config.ShowName;
+ if (id == 6 || id == 16)
+ {
+ showName = Language.Get("herocard59");
+ }
+ else if (id == 7 || id == 17)
+ {
+ showName = Language.Get("herocard60");
+ }
+ else if (id == 8 || id == 18)
+ {
+ showName = Language.Get("herocard61");
+ }
+ return string.Format(format, showName, GetValueDescription(id, value));
+ }
+
+
+
+
+
//largeNumFormat 澶ф暟鍊兼牸寮忥細0 榛樿鍘熸暟鍊� 1 鎸変竾鎴栬��(K)鏄剧ず 2 鎸�6浣嶆暟浠ヤ笂锛堟墠杞崲澶ф暟鍊硷紝鏍规嵁鎯呭喌鍙粺涓�璋冩暣锛�
public static string GetValueDescription(int id, long value, int largeNumFormat = 2)
{
--
Gitblit v1.8.0