Fixed issue where base stats of a variant got corrupted.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -76,8 +76,8 @@ TEST_CASE("Finish battle when all battle of one side have fainted", "[Integratio
|
||||
|
||||
REQUIRE_FALSE(battle.HasEnded());
|
||||
|
||||
battle.TrySetChoice(new AttackTurnChoice(c1, c1->GetAttacks()[0], CreatureIndex(1, 0)));
|
||||
battle.TrySetChoice(new PassTurnChoice(c2));
|
||||
REQUIRE(battle.TrySetChoice(new AttackTurnChoice(c1, c1->GetAttacks()[0], CreatureIndex(1, 0))));
|
||||
REQUIRE(battle.TrySetChoice(new PassTurnChoice(c2)));
|
||||
|
||||
REQUIRE_FALSE(battle.HasEnded());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user