From 2e677ecbfa2408d951e25bcadb22123e0375233c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 10 三月 2021 14:53:55 +0800
Subject: [PATCH] 8848 【主干】【BT2】【后端】所有活动中,不能配置活动开启等级的,补充该配置(每日礼包AA25、充值返利AA27、累计充值返利仙玉AA29、成长必买AA31、节日登录AA42、节日祝福AA43、节日游历AA46);

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_504.py |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_504.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_504.py
index ab109b3..6e8cea9 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_504.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_504.py
@@ -21,17 +21,19 @@
 #  @param calcDict 技能效果累加总表
 #  @return None
 def OnCalcBuffEx(defender, curEffect, calcDict, curBuff):
-    attrList = PlayerControl.GetCalcAttrListValue(defender, ChConfig.Def_CalcAttrFunc_EquipBaseWeapon)
-    attrType = curEffect.GetEffectValue(1)
-    attrTypeList = [attrType]
-    # 攻击力有最大最小 特殊处理
-    if attrType in [ChConfig.TYPE_Calc_AttrATKMin, ChConfig.TYPE_Calc_AttrATKMax]:
-        attrTypeList = [ChConfig.TYPE_Calc_AttrATKMin, ChConfig.TYPE_Calc_AttrATKMax]
-    for tmpType in attrTypeList:
-        value = int(attrList[2].get(tmpType, 0)*curEffect.GetEffectValue(0)*1.0/ChConfig.Def_MaxRateValue)
-        calcDict[tmpType] = calcDict.get(tmpType, 0) - value
-        
+    # 境界装备改版,暂取消
     return
+#    attrList = PlayerControl.GetCalcAttrListValue(defender, ChConfig.Def_CalcAttrFunc_EquipBaseWeapon)
+#    attrType = curEffect.GetEffectValue(1)
+#    attrTypeList = [attrType]
+#    # 攻击力有最大最小 特殊处理
+#    if attrType in [ChConfig.TYPE_Calc_AttrATKMin, ChConfig.TYPE_Calc_AttrATKMax]:
+#        attrTypeList = [ChConfig.TYPE_Calc_AttrATKMin, ChConfig.TYPE_Calc_AttrATKMax]
+#    for tmpType in attrTypeList:
+#        value = int(attrList[2].get(tmpType, 0)*curEffect.GetEffectValue(0)*1.0/ChConfig.Def_MaxRateValue)
+#        calcDict[tmpType] = calcDict.get(tmpType, 0) - value
+#        
+#    return
 
 
 ## 返回buff类型,线性与否

--
Gitblit v1.8.0