miao-plugin/resources/meta/character/行秋/calc.js
yoimiya-kokomi 769e98ecad * #角色面板 伤害计算新增行秋、班尼特
* `#喵喵日历` 的一些样式微调
* 底层升级:抽象了部分公共组件为tpl模板以提高复用度,css改为less处理
2022-05-11 05:54:01 +08:00

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