Fix National Dex teambuilder (#1495)

This commit is contained in:
Kris Johnson 2020-04-24 22:24:45 -06:00 committed by GitHub
parent 6c878a967f
commit 33b3d8d041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -322,7 +322,6 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
tier = 'OU';
return tier;
}
if (['Meltan', 'Melmetal'].includes(species.name)) tier = 'OU';
if (species.isGigantamax) tier = '(Uber)';
return tier;
}
@ -477,7 +476,7 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
const tierOrder = (() => {
if (isNatDex) {
return ["CAP", "CAP NFE", "CAP LC", "AG", "Uber", "OU", "UUBL", "(OU)", "UU", "RUBL", "RU", "NUBL", "NU", "PUBL", "PU", "(PU)", "NFE", "LC Uber", "LC"];
return ["CAP", "CAP NFE", "CAP LC", "AG", "Uber", "(Uber)", "OU", "UUBL", "(OU)", "UU", "RUBL", "RU", "NUBL", "NU", "PUBL", "PU", "(PU)", "NFE", "LC Uber", "LC"];
}
if (isLetsGo) {
return ["Uber", "OU", "UU", "NFE", "LC"];