From ef46790d5753fb64611c2d440f2883a466935073 Mon Sep 17 00:00:00 2001 From: DokiAlex Date: Sun, 14 May 2023 22:42:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=A1=E7=BB=B4=E4=BC=A4=E5=AE=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/meta/character/卡维/calc.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 resources/meta/character/卡维/calc.js diff --git a/resources/meta/character/卡维/calc.js b/resources/meta/character/卡维/calc.js new file mode 100644 index 00000000..5b62f7b0 --- /dev/null +++ b/resources/meta/character/卡维/calc.js @@ -0,0 +1,23 @@ +export const details = [{ + title: '画则巧施伤害', + dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e') +}, { + title: 'Q后绽放伤害', + 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 + } +}] \ No newline at end of file