mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
Fix #8812 and add test
This commit is contained in:
parent
a581d55160
commit
46f98a0f88
3 changed files with 33 additions and 17 deletions
|
|
@ -30,4 +30,26 @@ public class SyrKonradTheGrimTest extends CardTestPlayerBase {
|
|||
assertLife(playerA, 20);
|
||||
assertLife(playerB, 18);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void reanimateFromOtherGraveyardTest() {
|
||||
addCard(Zone.HAND, playerA, "Reanimate");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Swamp");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Syr Konrad, the Grim");
|
||||
addCard(Zone.GRAVEYARD, playerB, "Grizzly Bears");
|
||||
|
||||
setStopAt(1, PhaseStep.UNTAP);
|
||||
execute();
|
||||
|
||||
assertLife(playerB, 20);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Reanimate", "Grizzly Bears");
|
||||
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
|
||||
execute();
|
||||
|
||||
assertGraveyardCount(playerB, 0);
|
||||
assertPermanentCount(playerA, "Grizzly Bears", 1);
|
||||
assertLife(playerA, 18); // loss of 2 from reanimate
|
||||
assertLife(playerB, 20); // card leaving B's graveyard *shouldn't* cause loss of life
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue