Random Battle: Prevent generating teams with too many Uber Pokemon

This commit is contained in:
ScarfWynaut
2017-01-12 13:49:21 +00:00
committed by The Immortal
parent 463677cdb7
commit 46b4666fcd

View File

@@ -2455,8 +2455,8 @@ exports.BattleScripts = {
typeComboCount[typeCombo] = 1;
}
// Increment Uber/NU counters
if (tier === 'Uber') {
// Increment Uber/Bank-Uber/PU counters
if (tier === 'Uber' || tier === 'Bank-Uber') {
uberCount++;
} else if (tier === 'PU') {
puCount++;