From ba67d86ccc7dde96a4fe2bb2ae3abfbd0aacc561 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 03 十一月 2025 12:00:10 +0800
Subject: [PATCH] 237 【福利内容】每日任务/每周任务/章节奖励-服务端(增加每日任务类型 6 ~ 10)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_502.py | 56 ++++++++++++++++++++++++++++----------------------------
1 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_502.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_502.py
index e948c74..0c4fa48 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_502.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_502.py
@@ -25,34 +25,34 @@
# @return None
def OnCalcBuffEx(defender, curEffect, calcDict, curBuff):
- totalHP = 0
- equipPack = defender.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
- for i in xrange(equipPack.GetCount()):
- curEquip = equipPack.GetAt(i)
-
- if curEquip.IsEmpty():
- continue
- if i not in ChConfig.EquipPlace_BaseArmor:
- continue
- if not curEquip.GetItemQuality():
- continue
- #基础属性效果
- for i in range(0, curEquip.GetEffectCount()):
- equipEffect = curEquip.GetEffectByIndex(i)
- if not equipEffect:
- break
-
- effectID = equipEffect.GetEffectID()
- if effectID == 0:
- #最后一个
- break
- if effectID != ShareDefine.Def_Effect_MaxHP:
- continue
- totalHP += equipEffect.GetEffectValue(0)
-
- totalHP = int(totalHP*float(curEffect.GetEffectValue(0))/ChConfig.Def_MaxRateValue)
-
- calcDict[ChConfig.TYPE_Calc_AttrMaxHP] = calcDict.get(ChConfig.TYPE_Calc_AttrMaxHP, 0) + totalHP
+# totalHP = 0
+# equipPack = defender.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
+# for i in xrange(equipPack.GetCount()):
+# curEquip = equipPack.GetAt(i)
+#
+# if curEquip.IsEmpty():
+# continue
+# if i not in ChConfig.EquipPlace_BaseArmor:
+# continue
+# if not curEquip.GetItemQuality():
+# continue
+# #基础属性效果
+# for i in range(0, curEquip.GetEffectCount()):
+# equipEffect = curEquip.GetEffectByIndex(i)
+# if not equipEffect:
+# break
+#
+# effectID = equipEffect.GetEffectID()
+# if effectID == 0:
+# #最后一个
+# break
+# if effectID != ShareDefine.Def_Effect_MaxHP:
+# continue
+# totalHP += equipEffect.GetEffectValue(0)
+#
+# totalHP = int(totalHP*float(curEffect.GetEffectValue(0))/ChConfig.Def_MaxRateValue)
+#
+# calcDict[ChConfig.TYPE_Calc_AttrMaxHP] = calcDict.get(ChConfig.TYPE_Calc_AttrMaxHP, 0) + totalHP
return
--
Gitblit v1.8.0