修正伤害计算武器副词条计算错误

This commit is contained in:
Kokomi 2023-02-22 10:15:55 +08:00
parent f0348841a3
commit 7081393e06

View File

@ -124,7 +124,7 @@ class AttrCalc {
if (wCalcRet) { if (wCalcRet) {
this.addAttr('atkBase', wCalcRet.atkBase) this.addAttr('atkBase', wCalcRet.atkBase)
this.addAttr(wCalcRet.key, wCalcRet.value) this.addAttr(wCalcRet.attr?.key, wCalcRet.attr?.value)
} }
let wBuffs = weaponBuffs[weapon.name] || [] let wBuffs = weaponBuffs[weapon.name] || []