From 4e78fe5be4b05a57c5a30b8bb49fe0da4c88e8bf Mon Sep 17 00:00:00 2001 From: yangwei549 <67332616+yangwei549@users.noreply.github.com> Date: Sun, 18 Feb 2024 18:58:05 +0000 Subject: [PATCH] Update calc.js (#719) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 实测香菱Q无法吃到6命的火伤加成,这里修改了一下只让E吃6命。 --- resources/meta-gs/character/香菱/calc.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/meta-gs/character/香菱/calc.js b/resources/meta-gs/character/香菱/calc.js index ffe5d2f1..88ad4de7 100644 --- a/resources/meta-gs/character/香菱/calc.js +++ b/resources/meta-gs/character/香菱/calc.js @@ -6,9 +6,11 @@ export const details = [{ dmg: ({ talent }, dmg) => dmg(talent.e['喷火伤害'], 'e', 'vaporize') }, { title: '旋火轮单次伤害', + let i = 1, dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q') }, { title: '旋火轮单次蒸发', + let i = 1, dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q', 'vaporize') }] @@ -22,9 +24,10 @@ export const buffs = [{ kx: 15 } }, { + check: i !== 1, title: '香菱6命:旋火轮持续期间获得15%火伤加成', cons: 6, data: { - qDmg: 15 + dmg: 15 } }, 'vaporize']