From c60cba7154e4f968ea23060de3c7c49b60d86e36 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 11 六月 2019 17:23:44 +0800
Subject: [PATCH] 860312 属性刷新修复

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index 4aae654..9ef6b9d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -4531,6 +4531,9 @@
             mfpAttrList = [{} for _ in range(4)]
             mfpAttrExDict = {}
             for funcIndex in attrFuncIndexList:
+                if funcIndex in ChConfig.CalcAttrFuncSkillList:
+                    # 技能模块不算计入功能固定属性、不计战力
+                    continue
                 funcAttrList = funcAttrInfoList[funcIndex]
                 funcInsidePerAttrDict = funcInsidePerAttrList[funcIndex] # 功能点内部百分比加成属性
                 funcCrossPerAttrDict = funcCrossAttrPerInfoDict.get(funcIndex, {}) # 功能点交叉百分比加成属性
@@ -4541,7 +4544,7 @@
                 CalcLineEffect.ChangePlayerAttrInLineEffectList(curPlayer, funcCrossPerAttrDict)
                 CalcLineEffect.ChangePlayerAttrInLineEffectList(curPlayer, fixPerAttrDict)
                 # 不算战力的
-                if funcIndex in ChConfig.CalcAttrFuncNoFightPowerList or funcIndex in ChConfig.CalcAttrFuncSkillList:
+                if funcIndex in ChConfig.CalcAttrFuncNoFightPowerList:
                     continue
                 mfpAttrList = AddAttrListValue([mfpAttrList, funcAttrList])
                 AddAttrDictValue(mfpAttrExDict, funcInsidePerAttrDict)

--
Gitblit v1.8.0