From ad3ac1661daaf4b445914f87009d3d88c990f040 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 28 四月 2026 11:45:19 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into h5version

---
 Main/Config/PartialConfigs/PlayerPropertyConfig.cs |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/Main/Config/PartialConfigs/PlayerPropertyConfig.cs b/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
index aea6967..c5fefcc 100644
--- a/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
+++ b/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
@@ -107,6 +107,30 @@
         }
     }
 
+    public static string GetFullDescriptionOrgName(int id, long value, string format="{0}+{1}")
+    {
+        var config = Get(id);
+        if (config == null)
+        {
+            return string.Empty;
+        }
+
+        if (config.Name.Contains("%s"))
+        {
+            // if (id == 52)
+            // {
+            //     return Regex.Replace(config.ShowName, "%s", (value * 0.0001f).ToString("f2"));
+            // }
+            // else
+            {
+                return Regex.Replace(config.Name, "%s", value.ToString());
+            }
+        }
+        else
+        {
+            return string.Format(format, config.Name, GetValueDescription(id, value));
+        }
+    }
     //鍩虹灞炴�ф弿杩�
     public static string GetBaseFullDescription(int id, long value, string format = "{0}+{1}")
     {

--
Gitblit v1.8.0