miao-plugin/resources/meta/character/荒泷一斗/calc.js
yoimiya-kokomi a97ab9a919 * #角色面板 伤害计算增加双手剑计算逻辑,增加物伤计算逻辑
* `#角色面板` 伤害计算新增支持一斗、优菈
2022-05-19 10:34:21 +08:00

32 lines
909 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: "开大后每段重击",
dmg: ({ talent }, dmg) => dmg(talent.a['荒泷逆袈裟连斩伤害'], 'a2')
}, {
title: "开大后重击尾段",
dmg: ({ talent }, dmg) => dmg(talent.a['荒泷逆袈裟终结伤害'], 'a2')
}, {
title: "开大后牛牛伤害",
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
}];
export const mainAttr = "atk,cpct,cdmg";
export const enemyName = "魔偶/女士/雷神";
export const buffs = [{
title: "一斗被动:荒泷逆袈裟造成的伤害基于防御值提高[a2Plus]",
data: {
a2Plus: ({ attr, calc }) => calc(attr.def) * 0.35
}
}, {
title: "一斗6命重击的暴击伤害提高70%",
data: {
a2Cdmg: 70
}
}, {
title: "一斗大招:怒目鬼王状态提高攻击力[atkPlus]",
data: {
atkPlus: ({ attr, calc, talent }) => talent.q['攻击力提高'] * calc(attr.def) / 100
}
}]