Skip to content

Commit

Permalink
Fix ADV ZU teambuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisXV committed Nov 1, 2023
1 parent b24a8c8 commit 32d5476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-tools/build-indexes
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,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, "(PU)":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;
if (usedTier === "(PU)") usedTier = "ZU";
if (usedTier === "(PU)" && genNum !== 3) usedTier = "ZU";
if (usedTier === "(DUU)") usedTier = "DNU";
formatSlices[usedTier] = tiers.length;
}
Expand Down

0 comments on commit 32d5476

Please sign in to comment.