From 39001a600fcae2bcf27c225df8752d75fb92fef4 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 31 十月 2025 11:18:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/Config/PartialConfigs/PlayerPropertyConfig.cs | 55 ++++++++++++++++++++-----------------------------------
1 files changed, 20 insertions(+), 35 deletions(-)
diff --git a/Main/Config/PartialConfigs/PlayerPropertyConfig.cs b/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
index 82ce7a6..80dbebe 100644
--- a/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
+++ b/Main/Config/PartialConfigs/PlayerPropertyConfig.cs
@@ -5,6 +5,11 @@
public partial class PlayerPropertyConfig : ConfigBase<int, PlayerPropertyConfig>
{
+ public const int baseType = 1; //鍩虹灞炴��
+ public const int fightType = 2; //鎴樻枟灞炴��
+ public const int fightAntiType = 3; //鎴樻枟鎶楁��
+ public const int specialType = 4; //鐗规畩灞炴��
+
// 鎸夋樉绀虹被鍨嬪垎
private static Dictionary<int, List<int>> m_PlayerPropertyDict = new Dictionary<int, List<int>>();
public static Dictionary<int, List<int>> playerPropertyDict
@@ -17,42 +22,22 @@
}
}
- 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;
- }
- }
+ public static int[] inheritAttrs = new int[] { 13, 14, 15 };
- 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; //鎴樻枟灞炴��
- public const int fightAntiType = 3; //鎴樻枟鎶楁��
- public const int specialType = 4; //鐗规畩灞炴��
+ //涓嶅悓鐨勫姛鑳借〃璋冪敤瀵瑰簲鑷繁鐨勫姛鑳藉惈涔夊拰浣跨敤鏂瑰紡锛屽闃靛鍏夌幆閰嶇疆灏辩敤鍦ㄥ搴旇绠楀眰
+ public static int[] basePerAttrs = new int[] { 16, 17, 18 };
+
+ public static int[] baseAttrs = new int[] { 6, 7, 8 };
+
+ // 鏄犲皠瀵瑰簲鐨勭櫨鍒嗘瘮灞炴�э紝鏂逛究浣跨敤锛屽璁$畻灞炴�ч渶瑕佹壘瀵瑰簲鐨勭櫨鍒嗘瘮鍔犳垚
+ public static Dictionary<int, int> baseAttr2perDict = new Dictionary<int, int>()
+ {
+ { 6,16 },
+ { 7,17 },
+ { 8,18 }
+ };
+
private static Dictionary<int, List<int>> RefreshShowDict()
{
if (m_PlayerPropertyDict.IsNullOrEmpty())
@@ -123,7 +108,7 @@
public static string GetValueDescription(int id, long value)
{
- return GetValueDescription(id, value, false);
+ return GetValueDescription(id, value, true);
}
public static string GetValueDescription(int id, long value, bool largeValue)
--
Gitblit v1.8.0