mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-14 14:59:29 -05:00
Teambuilder: Fix LC support (#2123)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user