From 8a3b39e2b66ab9f7d1f1ac65082980d1de8a9582 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 31 十月 2018 14:52:30 +0800
Subject: [PATCH] 4498 【后端】【1.2.0】增加【助战特定副本】的任务接口
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py | 8 +++++++-
1 files changed, 7 insertions(+), 1 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..67fea1e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/CalcNoLineEffect.py
@@ -16,11 +16,12 @@
# @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
import GameWorld
+import ShareDefine
#---------------------------------------------------------------------
## 给玩家添加非线性Buff效果
@@ -69,6 +70,11 @@
#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 # 相对增加值
mfpObj.AddCalcMFPAttr(key, curMAddValue) # 给对应模块累加上非线性增加的战斗属性值
--
Gitblit v1.8.0