allow exact match, fixes #1202

This commit is contained in:
Alexander Drozdov
2023-12-27 20:23:29 +02:00
parent 830b6e2595
commit 00a8ad4a24
+4
View File
@@ -125,6 +125,10 @@ function * _statPlaceholderGenerator (stat: string) {
}
}
}
// fallback to exact stat text, without any placeholders
// N # -> max 0 #
yield { stat, values: [] }
}
export function tryParseTranslation (stat: StatString, modType: ModifierType): ParsedStat | undefined {