miao-plugin/resources/meta/character//calc.js
yoimiya-kokomi 9765c5af18 增加 #雷神伤害 功能
* 可计算圣遗物副词条置换带来的伤害变化,可用于圣遗物副词条侧重方向的参考
* 可以查看指定角色伤害计算的Buff列表
2022-05-01 05:06:17 +08:00

44 lines
1.1 KiB
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.e["技能伤害"], "e")
}, {
title: "满层被动E",
params: { e: 1 },
dmg: ({ talent }, dmg) => dmg(talent.e["技能伤害"], "e")
}, {
title: "靖妖傩舞·首插",
params: {
layer: 1
},
dmg: ({ talent }, dmg) => dmg(talent.a["低空/高空坠地冲击伤害"][1], "a3")
}, {
title: "靖妖傩舞·尾插",
params: {
layer: 5
},
dmg: ({ talent }, dmg) => dmg(talent.a["低空/高空坠地冲击伤害"][1], "a3")
}];
export const defDmgIdx = 3;
export const mainAttr = "atk,cpct,cdmg";
export const defParams = {
layer: 0
}
export const buffs = [{
title: "靖妖傩舞:下落攻击伤害提升[a3Dmg]%",
data: {
a3Dmg: ({ talent }) => talent.q['普通攻击/重击/下落攻击伤害提升']
}
}, {
title: `魈天赋开Q后每3秒伤害提升5%满层提高25%`,
data: {
dmg: ({ params }) => params.layer * 5
}
}, {
title: "魈被动3层E使E的伤害提高45%",
data: {
eDmg: ({ params }) => params.e ? 45 : 0
}
}];