This commit is contained in:
surfnWOB 2026-05-08 13:30:57 -04:00 committed by GitHub
commit 2eefcb49b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -613,7 +613,7 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
for (const tier of tierOrder) {
if (tier in {
OU: 1, UUBL: 1, AG: 1, Uber: 1, UU: 1, RU: 1, NU: 1, PU: 1, ZU: 1, NFE: 1, LC: 1, DOU: 1, DUU: 1,
OU: 1, "(OU)": 1, UUBL: 1, AG: 1, Uber: 1, UU: 1, RU: 1, NU: 1, PU: 1, ZU: 1, NFE: 1, LC: 1, DOU: 1, DUU: 1,
"(DUU)": 1, New: 1, Legal: 1, Regular: 1, Restricted: 1, "CAP LC": 1,
}) {
let usedTier = tier;

View File

@ -1142,7 +1142,7 @@ class BattlePokemonSearch extends BattleTypedSearch<'pokemon'> {
});
}
} else if (format === 'ou') tierSet = tierSet.slice(slices.OU);
else if (format === 'uubl') tierSet = tierSet.slice(slices.UUBL);
else if (format === 'uubl') tierSet = tierSet.slice(slices['(OU)'] || slices.UUBL);
else if (format === 'uu') tierSet = tierSet.slice(slices.UU);
else if (format === 'ru') tierSet = tierSet.slice(slices.RU || slices.UU);
else if (format === 'nu') tierSet = tierSet.slice(slices.NU);