From 6faea8f62e2c62a03077c73e6370d5fb0bbafdd5 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 07 五月 2021 12:11:33 +0800 Subject: [PATCH] 5064 【主干】【bt2】【bt2_1.100.1】VIP升级导致节日祝福石被删除 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_801.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_801.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_801.py index b86755b..b88f66c 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_801.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_801.py @@ -25,7 +25,7 @@ # @return None def DoAddBuffOver(curObj, addBuff, curEffect, tick, buffOwner): # SetValue1用于当前吸收值 - addBuff.SetValue(GameObj.GetMaxHP(curObj)*curEffect.GetEffectValue(0)/ChConfig.Def_MaxRateValue) # 吸收上限 + addBuff.SetValue(min(GameObj.GetMaxHP(curObj)*curEffect.GetEffectValue(1)/ChConfig.Def_MaxRateValue, ChConfig.Def_UpperLimit_DWord)) # 吸收上限 return @@ -51,6 +51,6 @@ return curObj.SetDict(ChConfig.Def_PlayerKey_MoreHurtValue, boomValue) - SkillShell.Trigger_UseSkill(curObj, None, curSkill, tick, curObj.GetPosX(), curObj.GetPosY()) + SkillShell.Trigger_UseSkill(curObj, None, skillData, tick, curObj.GetPosX(), curObj.GetPosY()) curObj.SetDict(ChConfig.Def_PlayerKey_MoreHurtValue, 0) return -- Gitblit v1.8.0