This commit is contained in:
@@ -32,6 +32,7 @@ public static class TestCommandRunner
|
||||
randoms[i] = new RandomImpl(rootRandom.GetInt());
|
||||
battleTasks[i] = Task.CompletedTask; // Initialize tasks to avoid null references
|
||||
}
|
||||
const int pokemonPerParty = 6;
|
||||
|
||||
// Show a progress bar if debug logging is not enabled.
|
||||
// We disable this if debug logging is on, to prevent annoying console output where the progress bar is drawn in
|
||||
@@ -55,7 +56,7 @@ public static class TestCommandRunner
|
||||
{
|
||||
Log.Debug("Battle {BattleNumber}: {AI1} vs {AI2}", index + 1, ai1.Name, ai2.Name);
|
||||
var random = randoms[taskIndex];
|
||||
var battle = GenerateBattle(library, 3, random);
|
||||
var battle = GenerateBattle(library, pokemonPerParty, random);
|
||||
var timePerTurn = new List<double>(20);
|
||||
while (!battle.HasEnded)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user