使角色元素精通为0时的元素反应加成或加成为0的buff能够正常显示加成数值

This commit is contained in:
liangshi 2024-03-02 15:06:11 +08:00
parent 564c6f2f90
commit 625a44065a

View File

@ -185,7 +185,7 @@ let DmgAttr = {
if (lodash.isFunction(val)) { if (lodash.isFunction(val)) {
val = val(ds) val = val(ds)
} }
if (!val) { if (!val && val !== 0) {
return return
} }