Skip to content

Commit

Permalink
SUBL
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaD173 committed Aug 16, 2023
1 parent ade0f16 commit 794fa12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-tools/build-indexes
Original file line number Diff line number Diff line change
Expand Up @@ -576,11 +576,11 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
// if (gen === 'gen1' || gen === 'gen2') {
// return ["CAP", "CAP NFE", "CAP LC", "AG", "Uber", "OU", "(OU)", "UUBL", "UU", "NUBL", "NU", "PU", "ZU", "6U", "7U", "8U", "9U", "10U", "NFE", "LC"];
// }
return ["CAP", "CAP NFE", "CAP LC", "AG", "Uber", "(Uber)", "OU", "(OU)", "UUBL", "UU", "RUBL", "RU", "NUBL", "NU", "PUBL", "PU", "(PU)", "ZU", "SU", "6UBL", "6U", "7UBL", "7U", "8UBL", "8U", "9UBL", "9U", "10UBL", "10U", "UR", "New", "NFE", "LC", "Unreleased", "11UBL", "11U"];
return ["CAP", "CAP NFE", "CAP LC", "AG", "Uber", "(Uber)", "OU", "(OU)", "UUBL", "UU", "RUBL", "RU", "NUBL", "NU", "PUBL", "PU", "(PU)", "ZUBL", "ZU", "SUBL", "SU", "6UBL", "6U", "7UBL", "7U", "8UBL", "8U", "9UBL", "9U", "10UBL", "10U", "UR", "New", "NFE", "LC", "Unreleased", "11UBL", "11U"];
})();

for (const tier of tierOrder) {
if (tier in {OU:1, AG:1, Uber:1, UU:1, RU:1, NU:1, PU:1, "(PU)":1, ZU:1, "SU": 1, "UR": 1, "6UBL":1, "7UBL":1, "8UBL":1, "9UBL":1, "10UBL":1, "11UBL":1, "6U":1, "7U":1, "8U":1, "9U":1, "10U":1, "11U":1, NFE:1, LC:1, DOU:1, DUU:1, "(DUU)":1, New:1, Legal:1, Regular:1, "Restricted Legendary":1, "CAP LC":1, "18":1, "17":1, "16":1, "15":1, "14":1, "13":1, "12":1, "11":1, "10":1, "9":1, "8":1, "7":1, "6":1, "5":1, "4":1, "3":1, "2":1, "1":1}) {
if (tier in {OU:1, AG:1, Uber:1, UU:1, RU:1, NU:1, PU:1, "(PU)":1, "ZUBL": 1, ZU:1, "SUBL": 1, "SU": 1, "UR": 1, "6UBL":1, "7UBL":1, "8UBL":1, "9UBL":1, "10UBL":1, "11UBL":1, "6U":1, "7U":1, "8U":1, "9U":1, "10U":1, "11U":1, NFE:1, LC:1, DOU:1, DUU:1, "(DUU)":1, New:1, Legal:1, Regular:1, "Restricted Legendary":1, "CAP LC":1, "18":1, "17":1, "16":1, "15":1, "14":1, "13":1, "12":1, "11":1, "10":1, "9":1, "8":1, "7":1, "6":1, "5":1, "4":1, "3":1, "2":1, "1":1}) {
let usedTier = tier;
if (usedTier === "(PU)") usedTier = "ZU";
if (usedTier === "(DUU)") usedTier = "DNU";
Expand Down

0 comments on commit 794fa12

Please sign in to comment.