From 73ba4228066ce706c129b8e490d5a805592bccb3 Mon Sep 17 00:00:00 2001 From: frzyc Date: Tue, 28 Jan 2025 13:19:11 -0500 Subject: [PATCH] fix scanner substat detection (#2645) --- libs/zzz/db/src/driveDiskScanner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/zzz/db/src/driveDiskScanner.ts b/libs/zzz/db/src/driveDiskScanner.ts index d559d380ee..55abf5375d 100644 --- a/libs/zzz/db/src/driveDiskScanner.ts +++ b/libs/zzz/db/src/driveDiskScanner.ts @@ -57,7 +57,7 @@ export function DDSToZOD(data: DDS[]): IZenlessObjectDescription { const isSubPercent = typeof subVal === 'string' && subVal.endsWith('%') const [keyStr, value] = keyUp.split('+') - const upgrades = value ? parseInt(value) : 1 + const upgrades = value ? parseInt(value) + 1 : 1 const key = allDiscSubStatKeys.find( (k) => isPercentStat(k) === isSubPercent &&