Update calc.js (#719)

实测香菱Q无法吃到6命的火伤加成,这里修改了一下只让E吃6命。
This commit is contained in:
yangwei549 2024-02-18 18:58:05 +00:00 committed by GitHub
parent a4ba3741b4
commit 4e78fe5be4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,9 +6,11 @@ export const details = [{
dmg: ({ talent }, dmg) => dmg(talent.e['喷火伤害'], 'e', 'vaporize') dmg: ({ talent }, dmg) => dmg(talent.e['喷火伤害'], 'e', 'vaporize')
}, { }, {
title: '旋火轮单次伤害', title: '旋火轮单次伤害',
let i = 1,
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q') dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q')
}, { }, {
title: '旋火轮单次蒸发', title: '旋火轮单次蒸发',
let i = 1,
dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q', 'vaporize') dmg: ({ talent }, dmg) => dmg(talent.q['旋火轮伤害'], 'q', 'vaporize')
}] }]
@ -22,9 +24,10 @@ export const buffs = [{
kx: 15 kx: 15
} }
}, { }, {
check: i !== 1,
title: '香菱6命旋火轮持续期间获得15%火伤加成', title: '香菱6命旋火轮持续期间获得15%火伤加成',
cons: 6, cons: 6,
data: { data: {
qDmg: 15 dmg: 15
} }
}, 'vaporize'] }, 'vaporize']