From e2510985a94f54236db54198063fedc0f960fa4a Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 25 十二月 2025 14:22:01 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
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