From 950be2d9a3e3f87f1bb247f6b904de9669ba9126 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 31 八月 2021 18:51:45 +0800
Subject: [PATCH] 8921 【主干】【gt_1.101.1】【BT3】【bt3_1.100.1】【后端】H.活动-节日活动-垃圾分类(优化仙匣秘境初始化首层失败后的处理,重登后可尝试重新初始化)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py |   11 +----------
 1 files changed, 1 insertions(+), 10 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 ca8511d..08ba180 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py
@@ -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