miao-plugin/resources/meta/character/行秋/calc.js

30 lines
768 B
JavaScript
Raw Normal View History

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"
}];