From 65b10f63d1fcf6696df105e9922a12b894be32af Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 15 八月 2025 10:19:41 +0800
Subject: [PATCH] 0312 同步表格更新

---
 Main/Config/PartialConfigs/PlayerPropertyConfig.cs |   33 +++++++++++++++++++++++++++++++--
 1 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/Main/Config/PartialConfigs/PlayerPropertyConfig.cs b/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
index 5c3996c..82ce7a6 100644
--- a/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
+++ b/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
@@ -17,8 +17,37 @@
         }
     }
 
-    public static int[] inheritAttrs = playerPropertyDict[5].ToArray();    //鏀婚槻琛� 缁ф壙鐨勭櫨鍒嗘瘮
-    public static int[] basePerAttrs = playerPropertyDict[6].ToArray();    //鏀婚槻琛� 鍔犳垚鐧惧垎姣�
+    private static int[] m_inheritAttrs;//鏀婚槻琛� 缁ф壙鐨勭櫨鍒嗘瘮
+    public static int[] inheritAttrs
+    { 
+        get
+        {
+            if (m_inheritAttrs.IsNullOrEmpty())
+            {
+                if (playerPropertyDict.ContainsKey(5))
+                { 
+                    m_inheritAttrs = playerPropertyDict[5].ToArray();
+                }
+            }
+            return m_inheritAttrs;
+        }
+    }
+
+    private static int[] m_basePerAttrs;    //鏀婚槻琛� 鍔犳垚鐧惧垎姣�
+    public static int[] basePerAttrs
+    { 
+        get
+        {
+            if (m_basePerAttrs.IsNullOrEmpty())
+            {
+                if (playerPropertyDict.ContainsKey(6))
+                { 
+                    m_basePerAttrs = playerPropertyDict[6].ToArray();
+                }
+            }
+            return m_basePerAttrs;
+        }
+    }
 
     public const int baseType = 1;  //鍩虹灞炴��
     public const int fightType = 2; //鎴樻枟灞炴��

--
Gitblit v1.8.0