mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
[MKM] Implement Conspiracy Unraveler
This commit is contained in:
parent
aa00ce96a8
commit
acf5f47fe7
3 changed files with 114 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ public class CollectEvidenceTest extends CardTestPlayerBase {
|
|||
private static final String effigy = "Fuming Effigy";
|
||||
private static final String sprite = "Crimestopper Sprite";
|
||||
private static final String monitor = "Surveillance Monitor";
|
||||
private static final String unraveler = "Conspiracy Unraveler";
|
||||
|
||||
@Test
|
||||
public void testNoPay() {
|
||||
|
|
@ -291,4 +292,22 @@ public class CollectEvidenceTest extends CardTestPlayerBase {
|
|||
assertTapped(sprite, true);
|
||||
assertCounterCount(sprite, CounterType.STUN, 1);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testConspiracyUnraveler() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, unraveler);
|
||||
addCard(Zone.HAND, playerA, "Colossal Dreadmaw");
|
||||
addCard(Zone.GRAVEYARD, playerA, ogre, 4);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Colossal Dreadmaw");
|
||||
setChoice(playerA, true); // use alternative cast from unraveler
|
||||
setChoice(playerA, ogre, 4); // pay for collect evidence
|
||||
|
||||
setStrictChooseMode(true);
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertExileCount(ogre, 4);
|
||||
assertPermanentCount(playerA, "Colossal Dreadmaw", 1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue