From 26534f375db82568cf5e29e74fd5a58cf71ce20f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 07 一月 2020 15:49:41 +0800
Subject: [PATCH] 8360 【主干】仙界秘境修改(改为同步总经验,含评级附加经验)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py
index 8cc0ec7..08ba180 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py
@@ -16,7 +16,7 @@
 # @change: "2013-11-13 21:00" Alee 移动速度独立处理
 # @change: "2015-07-29 17:30" hxp 伤害减免改为线性
 #---------------------------------------------------------------------
-"""Version = 2015-07-29 17:30"""
+#"""Version = 2015-07-29 17:30"""
 #---------------------------------------------------------------------
 import ChConfig
 import EffGetSet
@@ -27,7 +27,7 @@
 #  @param curPlayer 当前玩家
 #  @param effectDict 效果列表
 #  @return None
-def ChangePlayerAttrInNoLineEffectList(curPlayer, effectDict, mfpObjAttrDict=None, isBuffAttr=False):
+def ChangePlayerAttrInNoLineEffectList(curPlayer, effectDict, isBuffAttr=False):
     for key, value in effectDict.items():
         if value == 0:
             continue
@@ -64,15 +64,6 @@
 ##            # 衰减算法
 ##            EffGetSet.SetValueByEffIndex(curPlayer, key, tmpValue)
 #        else:
-        if mfpObjAttrDict:
-            for mfpObj, attrDict in mfpObjAttrDict.items():
-                #if not attrDict.has_key(key): # 如果该模块没有增加该属性,则跳过
-                if key not in attrDict: # 如果该模块没有增加该属性,则跳过
-                    continue
-                curMValue = attrDict[key]
-                curMAddValue = curValue * curMValue / ChConfig.Def_MaxRateValue # 相对增加值
-                mfpObj.AddCalcMFPAttr(key, curMAddValue) # 给对应模块累加上非线性增加的战斗属性值
-                
         EffGetSet.SetValueByEffIndex(curPlayer, key, curValue * (ChConfig.Def_MaxRateValue + value) / ChConfig.Def_MaxRateValue)
     
     return

--
Gitblit v1.8.0