mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-21 04:05:48 +00:00
ignore rolls from legacy mods
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user