修正新版数据源的莫娜水伤重复计算问题

This commit is contained in:
Kokomi 2022-06-02 18:31:08 +08:00
parent 78e874aa63
commit 0608ca697b

View File

@ -17,9 +17,10 @@ export const details = [{
export const mainAttr = "atk,hp,cpct,recharge"; export const mainAttr = "atk,hp,cpct,recharge";
export const buffs = [{ export const buffs = [{
title: "莫娜被动:基于元素充能效率获得水元素伤害[dmg]%", title: "莫娜被动:基于元素充能效率获得水元素伤害[_dmg]%",
data: { data: {
dmg: ({ calc, attr }) => calc(attr.recharge) * 0.2 _dmg: ({ calc, attr }) => calc(attr.recharge) * 0.2,
dmg:({ calc, attr }) => attr.dataSource === "shin" ? 0 : calc(attr.recharge) * 0.2
} }
}, { }, {
title: "莫娜1命命中星异状态下的敌人水元素相关反应效果提升15%", title: "莫娜1命命中星异状态下的敌人水元素相关反应效果提升15%",