This commit is contained in:
@@ -87,7 +87,8 @@ public class IntegrationTestRunner
|
||||
return new BattlePartyImpl(party, x.Indices.Select(y => new ResponsibleIndex(y[0], y[1])).ToArray());
|
||||
}).ProcessOneAtATime().GetResultsAsync();
|
||||
using var battle = new BattleImpl(library, parties, test.BattleSetup.CanFlee, test.BattleSetup.NumberOfSides,
|
||||
test.BattleSetup.PositionsPerSide, false, test.BattleSetup.Seed);
|
||||
test.BattleSetup.PositionsPerSide, false, test.BattleSetup.EnvironmentName ?? "grass",
|
||||
test.BattleSetup.Seed);
|
||||
|
||||
foreach (var action in test.Actions)
|
||||
{
|
||||
|
||||
@@ -19,6 +19,7 @@ public class IntegrationTestBattleSetup
|
||||
public byte NumberOfSides { get; set; }
|
||||
public byte PositionsPerSide { get; set; }
|
||||
public bool HasDamageRandomness { get; set; }
|
||||
public string? EnvironmentName { get; set; }
|
||||
public IntegrationTestParty[] Parties { get; set; } = null!;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user