miao-plugin/resources/meta-gs/character/珐露珊/calc.js

40 lines
903 B
JavaScript
Raw Normal View History

export const details = [{
title: '开Q提供风系伤害',
dmg: ({ attr }) => {
return {
avg: (attr.atk.base || 0) * 0.32
}
}
}, {
title: 'E减抗后Q伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
}, {
check: ({ cons }) => cons >= 6,
title: '开Q后E后台伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['风压坍陷风涡伤害'], 'e')
}, {
title: '开Q后飓烈箭伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['满蓄力瞄准射击'], 'a2')
}]
export const defDmgIdx = 1
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
title: '珐露珊6命Q提升暴击伤害40%',
cons: 6,
data: {
cdmg: 40
}
}, {
title: '诡风之祸:降低敌人风抗[kx]%',
data: {
kx: 30
}
}, {
title: '祈风之赐:获得风伤加成[dmg]%',
data: {
dmg: ({ talent }) => talent.q['风元素伤害加成']
}
}]