* Jace, Unraveler of Secrets - Fixed that the emblem still doesn't counter spells (fixes #1855).

This commit is contained in:
LevelX2 2016-04-14 17:49:08 +02:00
parent d00f1adf38
commit 13d9a56b7a
2 changed files with 40 additions and 3 deletions

View file

@ -99,4 +99,36 @@ public class JaceTest extends CardTestPlayerBase {
assertPermanentCount(playerA, "Jace, Telepath Unbound", 1);
}
/**
* I know it's been a bit a rules question recently but I believe flip
* planeswalkers shouldn't be exiled by Containment priest when flipping as
* happens when using xmage (at least with Jace).
*/
@Test
public void testJaceUnravelerOfSecretsEmblem() {
// +1: Scry 1, then draw a card.
// -2: Return target creature to its owner's hand.
// -8: You get an emblem with "Whenever an opponent casts his or her first spell each turn, counter that spell."
addCard(Zone.BATTLEFIELD, playerA, "Jace, Unraveler of Secrets", 1); // starts with 5 Loyality counters
addCounters(1, PhaseStep.UPKEEP, playerA, "Jace, Unraveler of Secrets", CounterType.LOYALTY, 5);
addCard(Zone.BATTLEFIELD, playerB, "Plains", 2);
addCard(Zone.HAND, playerB, "Perimeter Captain", 2);
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "-8: You get an emblem");
castSpell(2, PhaseStep.PRECOMBAT_MAIN, playerB, "Perimeter Captain");
castSpell(2, PhaseStep.PRECOMBAT_MAIN, playerB, "Perimeter Captain");
setStopAt(2, PhaseStep.END_TURN);
execute();
assertEmblemCount(playerA, 1);
assertPermanentCount(playerB, "Perimeter Captain", 1);
assertGraveyardCount(playerB, "Perimeter Captain", 1);
}
}