* Fixed a problem that the AI was locked if a attack fee has to be paid but the AI was not able to pay the costs.

This commit is contained in:
LevelX2 2015-10-30 22:34:42 +01:00
parent 2153d5ccf5
commit e0c1492f88
5 changed files with 24 additions and 7 deletions

View file

@ -73,15 +73,20 @@ public class PreventRepeatedActionsTest extends CardTestPlayerBaseAI {
*/
@Test
public void testBasaltMonolith() {
addCard(Zone.HAND, playerA, "Phyrexian Vault", 1);
addCard(Zone.BATTLEFIELD, playerA, "Plains", 3);
// Basalt Monolith doesn't untap during your untap step.
// {T}: Add {3} to your mana pool.
// {3}: Untap Basalt Monolith.
addCard(Zone.BATTLEFIELD, playerA, "Basalt Monolith", 1);
addCard(Zone.BATTLEFIELD, playerA, "Basalt Monolith", 1, true);
setStopAt(1, PhaseStep.END_TURN);
setStopAt(5, PhaseStep.END_TURN);
execute();
assertTapped("Basalt Monolith", false);
// {2}, {T}, Sacrifice a creature: Draw a card.
assertPermanentCount(playerA, "Phyrexian Vault", 1);
assertTapped("Basalt Monolith", true);
assertTappedCount("Plains", false, 3);
}
/**