From 09c67573ee3759802de4d40ea70813d2ce71be0c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 13 一月 2026 10:27:16 +0800
Subject: [PATCH] 423 【内政】命格系统-服务端(初版不含属性;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index 0f729e4..160fd7a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -185,7 +185,7 @@
 ) = range(1, 1 + 80)
 
 # 需要计算的武将战斗属性ID列表
-CalcBattleAttrIDList = [AttrID_Atk, AttrID_Def, AttrID_MaxHP, AttrID_StunRate, AttrID_StunRateDef, 
+CalcBattleAttrIDList = [AttrID_Atk, AttrID_Def, AttrID_MaxHP, AttrID_AtkSpeed, AttrID_StunRate, AttrID_StunRateDef, 
                         AttrID_SuperHitRate, AttrID_SuperHitRateDef, AttrID_ComboRate, AttrID_ComboRateDef,
                         AttrID_MissRate, AttrID_MissRateDef, AttrID_ParryRate, AttrID_ParryRateDef,
                         AttrID_SuckHPPer, AttrID_SuckHPPerDef, AttrID_FinalDamPer, AttrID_FinalDamPerDef,
@@ -561,6 +561,19 @@
 
 Def_ItemType_Hero = 150 # 武将英雄
 
+Def_ItemType_GY_Taiyang = 201       # 太阳 注意修改装备列表配置 Def_MGGuayuType
+Def_ItemType_GY_Shaoyang = 202      # 少阳
+Def_ItemType_GY_Taiyin = 203        # 太阴
+Def_ItemType_GY_Shaoyin = 204       # 少阴
+Def_ItemType_GY_Qian = 205          # 乾(qián):代表天,位于西北方
+Def_ItemType_GY_Kun = 206           # 坤(kūn):代表地,位于西南方。
+Def_ItemType_GY_Zhen = 207          # 震(zhèn):代表雷,位于正东方。
+Def_ItemType_GY_Xun = 208           # 巽(xùn):代表风,位于东南方。
+Def_ItemType_GY_Kan = 209           # 坎(kǎn):代表水,位于正北方。
+Def_ItemType_GY_Li = 210            # 离(lí):代表火,位于正南方。
+Def_ItemType_GY_Gen = 211           # 艮(gèn):代表山,位于东北方。
+Def_ItemType_GY_Dui = 212           # 兑(duì):代表泽,位于正西方。
+
 #虚拟背包最大格子数 功能配置表对应的key
 Def_VPackCnt_Dict = {
                      #ShareDefine.rptRune:'RunePackageNum',
@@ -924,6 +937,9 @@
 #主线装备类型
 Def_MainEquipType = range(Def_ItemType_retWeapon, Def_ItemType_retAmulet + 1)
 
+#命格卦玉类型
+Def_MGGuayuType = range(Def_ItemType_GY_Taiyang, Def_ItemType_GY_Dui + 1)
+
 #神兽装备类型
 Def_DogzEquiipType = xrange(Def_ItemType_DogzEquipHorn, Def_ItemType_DogzEquipScute + 1)
 
@@ -1193,6 +1209,8 @@
                                     #ShareDefine.rptDogzEquip,
                                     #ShareDefine.rptGarbage,
                                     ShareDefine.rptHero,
+                                    ShareDefine.rptMGGuayu,
+                                    ShareDefine.rptMGTuiyan,
                                     ]
 
 #装备可强化背包列表
@@ -3845,6 +3863,11 @@
 Def_PDict_DJGEffAuto = "DJGEffAuto"  # 是否自动选择效果
 Def_PDict_DJGEffSet = "DJGEffSet_%s"  # 预设优先选择属性ID,参数(优先index)
 
+#命格
+Def_PDict_MGGanwuLV = "MGGanwuLV"  # 感悟等级
+Def_PDict_MGGanwuExp = "MGGanwuExp"  # 当前感悟等级对应的经验
+Def_PDict_MGLingying = "MGLingying"  # 当前灵应值
+
 #-------------------------------------------------------------------------------
 
 #物品效果(ID或指定类型)对应的属性计算信息 {效果(ID/指定类型):[[属性索引, ...], 是否基础属性,(非)线性]}

--
Gitblit v1.8.0