miao-plugin/resources/meta-gs/character/卡维/calc.js
2023-10-25 03:34:36 +08:00

26 lines
664 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.e['技能伤害'], 'e')
}, {
title: 'Q后绽放伤害',
params: { bloom: true },
dmg: ({ calc, attr }, { reaction }) => {
return reaction('bloom')
}
}]
export const mainAttr = 'atk,cpct,cdmg,mastery'
export const buffs = [{
title: '繁绘隅穹:草原核迸发伤害提升[bloom]%',
data: {
bloom: ({ talent }) => talent.q['草原核迸发伤害加成']
}
}, {
title: '卡维4命卡维触发绽放反应产生的草原核在迸发时造成的伤害提升60%',
cons: 4,
data: {
bloom: ({ params }) => params.bloom ? 60 : 0
}
}]