miao-plugin/resources/meta/character/行秋/calc.js
2022-08-08 02:26:25 +08:00

31 lines
764 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: '先Q后E两段伤害',
params: { e: 1 },
dmg: ({ talent, attr }, dmg) => dmg(talent.e['技能伤害'], 'e')
}, {
title: '雨帘剑伤害',
dmg: ({ talent, attr }, dmg) => dmg(talent.q['剑雨伤害'], 'q')
}, {
title: '雨帘剑蒸发',
dmg: ({ talent, attr }, dmg) => dmg(talent.q['剑雨伤害'], 'q', 'zf')
}]
export const mainAttr = 'atk,cpct,cdmg,mastery'
export const buffs = [{
title: '行秋2命受到剑雨攻击的敌人水元素抗性降低15%',
cons: 2,
data: {
kx: ({ params }) => params.e === 1 ? 0 : 15
}
}, {
title: '行秋4命开Q后E的伤害提升50%',
cons: 4,
data: {
eDmg: 50
}
}, {
title: '元素精通:蒸发融化伤害提高[zf]%',
mastery: 'zf,rh'
}]