mirror of
https://github.com/magefree/mage.git
synced 2026-01-20 02:10:06 -08:00
* 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:
parent
2153d5ccf5
commit
e0c1492f88
5 changed files with 24 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue