mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-04-25 07:57:01 -05:00
Teambuilder: Fix LC support (#2123)
This commit is contained in:
parent
1286e9f15d
commit
faf40776a0
|
|
@ -398,7 +398,9 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
|
|||
if (!species.nfe || species.prevo || lcBanlist.isBannedSpecies(species)) {
|
||||
tier = 'Illegal';
|
||||
}
|
||||
if (/^([OURNP]U|Uber|AG)$/g.test(tier)) tier = 'LC';
|
||||
if (/^([OURNP]U(BL)?|Uber|AG)$/g.test(tier) && tier !== 'Illegal') {
|
||||
tier = 'LC';
|
||||
}
|
||||
return tier;
|
||||
}
|
||||
if (isLetsGo) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user