miao-plugin/resources/meta/character/甘雨/calc.js
yoimiya-kokomi a86698c563 #角色面板 伤害计算增加甘雨
完善了一些计算逻辑
2022-04-27 03:07:58 +08:00

30 lines
891 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const details = [{
title: "霜华绽发伤害",
dmg: ({ talent }, dmg) => dmg(talent.a['霜华矢·霜华绽发伤害'], 'a2')
}, {
title: "霜华矢两段总伤害",
dmg: ({ talent }, dmg) => dmg(talent.a['霜华矢·霜华绽发伤害'] + talent.a['霜华矢命中伤害'], 'a2')
}, {
title: "霜华矢两段+融化",
dmg: ({ talent }, dmg) => dmg(talent.a['霜华矢·霜华绽发伤害'] + talent.a['霜华矢命中伤害'], 'a2', 'rh')
}, {
title: "Q单个冰凌伤害",
params: {
q: 1
},
dmg: ({ talent }, dmg) => dmg(talent.q['冰棱伤害'], 'q')
}];
export const buffs = [{
cons: 1,
title: "1命效果霜华失命中减少敌人15%冰抗",
data: {
kx: ({ params }) => params.q ? 0 : 15
}
}, {
cons: 4,
title: "4命效果大招领域内敌人受到的伤害提升25%",
data: {
dmg: ({ params }) => params.q ? 25 : 0
}
}];