修正伤害计算中属性计算导致的问题

This commit is contained in:
yoimiya-kokomi 2022-08-23 08:18:41 +08:00
parent 93e1e6b21f
commit 90947380ee

View File

@ -124,8 +124,8 @@ let DmgCalc = {
return ret
},
getDmgFn (data) {
let { showDetail, attr } = data
let { calc } = attr
let { showDetail, attr, ds } = data
let { calc } = ds
let dmgFn = function (pctNum = 0, talent = false, ele = false, basicNum = 0, mode = 'talent') {
return DmgCalc.calcRet({ pctNum, talent, ele, basicNum, mode }, data)