diff --git a/src/parser/stat-translations.ts b/src/parser/stat-translations.ts index 0542ca4d..1fea40e2 100644 --- a/src/parser/stat-translations.ts +++ b/src/parser/stat-translations.ts @@ -140,6 +140,14 @@ export function tryParseTranslation (stat: StatString, modType: ModifierType): P } } + if (combination.values.some(stat => + (stat.bounds != null) && + (stat.roll < stat.bounds.min || stat.roll > stat.bounds.max) + )) { + // Modifiers must be upgraded to the new values with a Divine Orb + return undefined + } + if (!combination.values.length && found.matcher.value) { combination.values = [{ roll: found.matcher.value,