miao-plugin/resources/meta/character/安柏/calc.js

40 lines
1022 B
JavaScript
Raw Normal View History

export const details = [{
2022-08-07 18:26:25 +00:00
title: '重击伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['满蓄力瞄准射击'], 'a2')
}, {
2022-08-07 18:26:25 +00:00
title: '兔兔伯爵爆炸',
dmg: ({ talent }, dmg) => dmg(talent.e['爆炸伤害'], 'e')
}, {
2022-08-07 18:26:25 +00:00
title: '兔兔伯爵蒸发',
check: ({ cons }) => cons < 2,
dmg: ({ talent }, dmg) => dmg(talent.e['爆炸伤害'], 'e', 'zf')
}, {
2022-08-07 18:26:25 +00:00
title: '引爆兔兔伯爵蒸发',
cons: 2,
dmg: ({ talent }, dmg) => dmg(talent.e['爆炸伤害'] * 3, 'e', 'zf')
}, {
2022-08-07 18:26:25 +00:00
title: 'Q箭雨总伤害',
params: { q: true },
dmg: ({ talent }, dmg) => dmg(talent.q['箭雨总伤害'], 'q')
2022-08-07 18:26:25 +00:00
}]
2022-08-07 18:26:25 +00:00
export const mainAttr = 'atk,cpct,cdmg,mastery'
export const buffs = [{
2022-08-07 18:26:25 +00:00
title: '安柏天赋命中弱点后攻击力提升15%',
data: {
atkPct: 15
}
}, {
2022-08-07 18:26:25 +00:00
title: '安柏被动Q暴击率提高10%',
data: {
qCpct: 10
}
}, {
2022-08-07 18:26:25 +00:00
title: '元素精通:蒸发融化伤害提高[zf]%',
mastery: 'zf,rh'
}, {
2022-08-07 18:26:25 +00:00
title: '安柏2命瞄准引爆兔兔伯爵伤害提高200%',
cons: 2
2022-08-07 18:26:25 +00:00
}]