mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-10-01 05:38:29 -05:00
Random Battle: Prevent generating teams with too many Uber Pokemon
This commit is contained in:
committed by
The Immortal
parent
463677cdb7
commit
46b4666fcd
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user