修复碧落之珑计算bug (#562)

This commit is contained in:
CUZNIL 2023-05-07 15:33:16 +08:00 committed by GitHub
parent 5e7260c498
commit 8602bd6943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,7 @@ export default function (step, staticStep) {
碧落之珑: {
title: '释放元素爆发后基于生命值提高元素伤害[dmg]%',
data: {
dmg: (attr, calc, refine) => Math.min(Math.floor(calc(attr.hp) / 1000) * step(0.3, 0.2), step(12, 8))
dmg: ({attr, calc, refine}) => Math.min(Math.floor(calc(attr.hp) / 1000) * step(0.3, 0.2)[refine], step(12, 8)[refine])
}
}
}