From ea1f5195b5bcb7b9a43548e21240524338b03c9e Mon Sep 17 00:00:00 2001 From: UCPr <2032385471@qq.com> Date: Fri, 15 Aug 2025 16:06:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=9A=E6=B5=81=E6=B4=BE=E8=AF=84?= =?UTF-8?q?=E5=88=86=E8=A6=86=E7=9B=96=E9=BB=98=E8=AE=A4=E8=A7=84=E5=88=99?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/score.js | 2 +- model/damage/character/爱丽丝/score.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/score.js b/lib/score.js index e883e69..342deaa 100644 --- a/lib/score.js +++ b/lib/score.js @@ -17,7 +17,7 @@ export function formatScoreWeight(oriScoreWeight) { if (typeof oriScoreWeight !== 'object') return false; const weight = {}; for (const propName in oriScoreWeight) { - if (!oriScoreWeight[propName]) + if (!oriScoreWeight[propName] && oriScoreWeight[propName] !== 0) continue; const propID = +propName || nameToId(propName); if (!propID) diff --git a/model/damage/character/爱丽丝/score.js b/model/damage/character/爱丽丝/score.js index 31fdf92..2e4ab2d 100644 --- a/model/damage/character/爱丽丝/score.js +++ b/model/damage/character/爱丽丝/score.js @@ -1,7 +1,7 @@ /** @type {import('../../avatar.ts')['scoreFnc'][string]} */ export default function (avatar) { const props = avatar.initial_properties - if (props.CRITRate * 2 + props.CRITDMG >= 2 && props.AnomalyProficiency < 200) { + if (props.CRITRate * 2 + props.CRITDMG >= 2 && props.AnomalyProficiency < 300) { return ['直伤流', { "生命值百分比": 0, "攻击力百分比": 0.75,