From acbbad4fb7e7aff47ce3066d0ec6eccc34b43d30 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期五, 11 一月 2019 10:44:18 +0800 Subject: [PATCH] 5817 【后端】【1.5】限时抢购支持对应不同的职业 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py | 6 ------ 1 files changed, 0 insertions(+), 6 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 67fea1e..ca8511d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py @@ -21,7 +21,6 @@ import ChConfig import EffGetSet import GameWorld -import ShareDefine #--------------------------------------------------------------------- ## 给玩家添加非线性Buff效果 @@ -69,11 +68,6 @@ for mfpObj, attrDict in mfpObjAttrDict.items(): #if not attrDict.has_key(key): # 如果该模块没有增加该属性,则跳过 if key not in attrDict: # 如果该模块没有增加该属性,则跳过 - continue - #装备模块攻击、生命非线性属性提升的属性不计算战力,战力另外算 - if mfpObj.mfpType == ShareDefine.Def_MFPType_Equip \ - and key in [ChConfig.TYPE_Calc_AttrATKMin, ChConfig.TYPE_Calc_AttrATKMax, ChConfig.TYPE_Calc_AttrMaxHP]: - GameWorld.DebugLog("装备模块某些属性不计入战力计算: key=%s,value=%s" % (key, attrDict[key])) continue curMValue = attrDict[key] curMAddValue = curValue * curMValue / ChConfig.Def_MaxRateValue # 相对增加值 -- Gitblit v1.8.0