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

36 lines
1009 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: "开E后首段普攻",
params: { num: 1 },
dmg: ({ talent }, dmg) => dmg(talent.a['一段伤害'], 'a')
}, {
title: "开E满Buff普攻尾箭",
params: { num: 10 },
dmg: ({ talent }, dmg) => dmg(talent.a['五段伤害'], 'a')
}, {
title: "开E满Buff尾箭蒸发",
params: { num: 10 },
dmg: ({ talent }, dmg) => dmg(talent.a['五段伤害'], 'a', 'zf')
}];
export const mainAttr = "atk,cpct,cdmg,mastery";
export const buffs = [{
title: "焰硝庭火舞开启E后额外提升普通[aMulti]%伤害",
data: {
aMulti: ({ talent }) => talent.e["炽焰箭伤害"] - 100
}
}, {
title: "宵宫被动袖火百景图10层提高20%火伤加成",
data: {
dmg: ({ params }) => params.num ? params.num * 2 : 20
}
}, {
title: "宵宫2命宵宫造成暴击后获得25%火伤加成",
cons: 2,
data: {
dmg: ({ params }) => params.num > 1 ? 25 : 0
}
}, {
title: "元素精通:蒸发融化伤害提高[zf]%",
mastery: "zf,rh"
}];