Include NU/PU LC mons in the 'LC' section of the teambuilder

This is something the old teambuilder couldn't handle, but the new
one can handle pokemon appearing in two different places on the list.
This commit is contained in:
Guangcong Luo
2015-12-22 06:40:54 -06:00
parent 1c0d222cab
commit dd58873f16

View File

@@ -123,6 +123,9 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
if (!tierTable[tier]) tierTable[tier] = [];
tierTable[tier].push(id);
if (id in {pawniard:1, vullaby:1, ferroseed:1} && tier !== 'LC') {
tierTable['LC'].push(id);
}
}
const tiers = BattleTeambuilderTable.tiers = [];