6603 【后端】【2.0】增加新版的sp和被动技能 - 修复公式key使用不对的问题
1个文件已修改
4 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
@@ -2289,8 +2289,8 @@
        # 指定公式
        aBurnValue = atkwargs.get('burnValue', 0)
        aBurnPer = atkwargs.get('burnPer', 0)
        hurtFormula = hurtDist[atkwargs.get('hurtFormulaKey', None)]
    else:
        hurtFormulaKey = atkwargs.get('hurtFormulaKey', None)
        hurtFormula = hurtDist[hurtFormulaKey]
        
    hurtValue = int(eval(FormulaControl.GetCompileFormula(hurtFormulaKey, hurtFormula)))