mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Add teambuilder support for UUBL tiers (#2336)
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
* Add support for Gen 3 UUBL (and every other UUBL tier) * Satisfy linter
This commit is contained in:
parent
211fef6352
commit
bda9877190
|
|
@ -623,7 +623,7 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
|
|||
|
||||
for (const tier of tierOrder) {
|
||||
if (tier in {
|
||||
OU: 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, 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 Legendary": 1, "CAP LC": 1,
|
||||
}) {
|
||||
let usedTier = tier;
|
||||
|
|
|
|||
|
|
@ -1047,6 +1047,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 === '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 || slices.RU || slices.UU);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user