miao-plugin/resources/meta/character/荒泷一斗/calc_auto.js
Nahida 6efdc4c556
增加了胡桃、一斗、可莉的组队伤害计算,修复了八重组队计算的错误 (#388)
* 修复八重组队计算的错误

* 修复八重组队计算的错误

* 增加了胡桃、可莉、一斗的配队计算

* Fix: 胡桃配队计算补上了双水buff

* Adjust: 启用组队的情况下,默认胡桃伤害计算调整为双水配队的重击蒸发伤害
2023-01-07 02:53:29 +08:00

71 lines
2.0 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: '开大后每段重击',
params: { team: false },
dmg: ({ talent }, dmg) => dmg(talent.a['荒泷逆袈裟连斩伤害'], 'a2')
}, {
title: '开大后重击尾段',
params: { team: false },
dmg: ({ talent }, dmg) => dmg(talent.a['荒泷逆袈裟终结伤害'], 'a2')
}, {
title: '开大后牛牛伤害',
params: { team: false },
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
}, {
title: '一五钟开大重击',
params: { team: true },
dmg: ({ talent }, dmg) => dmg(talent.a['荒泷逆袈裟连斩伤害'], 'a2')
}, {
title: '一五钟重击尾段',
params: { team: true },
dmg: ({ talent }, dmg) => dmg(talent.a['荒泷逆袈裟终结伤害'], 'a2')
}, {
title: '一五钟Q后E伤害',
params: { team: true },
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
}
]
export const mainAttr = 'atk,cpct,cdmg'
export const enemyName = '魔偶/女士/雷神'
export const defParams = {
team: true
}
export const buffs = [{
title: '一斗被动:荒泷逆袈裟造成的伤害基于防御值提高[a2Plus]',
data: {
a2Plus: ({ attr, calc }) => calc(attr.def) * 0.35
}
}, {
title: '一斗6命重击的暴击伤害提高70%',
cons: 6,
data: {
a2Cdmg: 70
}
}, {
title: '一斗大招:怒目鬼王状态提高攻击力[atkPlus]',
data: {
atkPlus: ({ attr, calc, talent }) => talent.q['攻击力提高'] * calc(attr.def) / 100
}
}, {
check: ({ params }) => params.team === true,
title: '6命五郎增加[defPlus]点防御力与[defPct]%防御力,增加[dmg]%岩伤与[cdmg]%暴击伤害',
sort: 0,
data: {
cdmg: 40,
defPct: 25,
defPlus: 438,
dmg: 15
}
}, {
check: ({ params }) => params.team === true,
title: '钟离:降低敌人[kx]%全抗',
data: {
kx: 20
}
}
]