File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -465,7 +465,7 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
465
465
tierTable [ tier ] . push ( id ) ;
466
466
467
467
if ( genNum === 9 ) {
468
- const ubersUU = Dex . formats . get ( gen + 'ubersuu' ) ;
468
+ const ubersUU = Dex . formats . get ( gen + ( isNatDex ? 'nationaldex' : '' ) + 'ubersuu' ) ;
469
469
if ( ubersUU . exists && Dex . formats . getRuleTable ( ubersUU ) . isBannedSpecies ( species ) ) {
470
470
ubersUUBans [ species . id ] = 1 ;
471
471
}
@@ -498,6 +498,7 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
498
498
BattleTeambuilderTable [ 'gen' + genNum + 'natdex' ] . overrideTier = overrideTier ;
499
499
BattleTeambuilderTable [ 'gen' + genNum + 'natdex' ] . items = items ;
500
500
BattleTeambuilderTable [ 'gen' + genNum + 'natdex' ] . ndDoublesBans = ndDoublesBans ;
501
+ BattleTeambuilderTable [ 'gen' + genNum + 'natdex' ] . ubersUUBans = ubersUUBans ;
501
502
BattleTeambuilderTable [ 'gen' + genNum + 'natdex' ] . monotypeBans = monotypeBans ;
502
503
BattleTeambuilderTable [ 'gen' + genNum + 'natdex' ] . formatSlices = formatSlices ;
503
504
} else if ( isMetBattle ) {
You can’t perform that action at this time.
0 commit comments