6603 【后端】【2.0】增加新版的sp和被动技能 - 伤害值防止小于0的情况
1个文件已修改
2 ■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
@@ -1914,7 +1914,7 @@
                # 用于回血
                findBuff.SetValue(int(findBuff.GetValue() + absortValue))
    
    hurtValue = max(hurtValue, 0)
    hurtValue = max(int(hurtValue), 0)
    # buff减少伤害百分比
    reducePer = PassiveBuffEffMng.GetValueByPassiveBuffTriggerType(defObj, atkObj, None, ChConfig.TriggerType_ReduceHurtHPPer)