This commit is contained in:
@@ -108,7 +108,7 @@ public class DeepCloneTests
|
||||
new BattlePartyImpl(party1, [new ResponsibleIndex(0, 0)]),
|
||||
new BattlePartyImpl(party2, [new ResponsibleIndex(1, 0)]),
|
||||
};
|
||||
var battle = new BattleImpl(library, parties, false, 2, 3, 0);
|
||||
using var battle = new BattleImpl(library, parties, false, 2, 3, false, 0);
|
||||
battle.Sides[0].SwapPokemon(0, party1[0]);
|
||||
battle.Sides[1].SwapPokemon(0, party2[0]);
|
||||
party1[0]!.ChangeStatBoost(Statistic.Defense, 2, true);
|
||||
|
||||
Reference in New Issue
Block a user