mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
Fixed failing Kiki-Jiki Mirror Breaker test.
This commit is contained in:
parent
6fda5540d0
commit
650ca1616a
2 changed files with 3 additions and 5 deletions
|
@ -56,7 +56,7 @@ public class KikiJikiMirrorBreakerTest extends CardTestPlayerBase {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testSimpleCopyExiledAtEnd() {
|
||||
public void testSimpleCopySacrificeAtEnd() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 5);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Kiki-Jiki, Mirror Breaker", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Voice of Resurgence", 1);
|
||||
|
@ -68,7 +68,7 @@ public class KikiJikiMirrorBreakerTest extends CardTestPlayerBase {
|
|||
|
||||
assertLife(playerA, 20);
|
||||
assertLife(playerB, 20);
|
||||
assertPermanentCount(playerA, "Elemental", 0); // because the copy was exiled
|
||||
assertPermanentCount(playerA, "Elemental", 1); // because the copy was sacrificed
|
||||
assertPermanentCount(playerA, "Voice of Resurgence", 1);
|
||||
}
|
||||
|
||||
|
|
|
@ -109,9 +109,7 @@ class ExtortEffect extends OneShotEffect {
|
|||
if (loseLife > 0) {
|
||||
game.getPlayer(source.getControllerId()).gainLife(loseLife, game);
|
||||
}
|
||||
if (permanent != null) {
|
||||
game.informPlayers(new StringBuilder(permanent.getName()).append(" extorted opponents ").append(loseLife).append(" life").toString());
|
||||
}
|
||||
game.informPlayers(new StringBuilder(permanent.getName()).append(" extorted opponents ").append(loseLife).append(" life").toString());
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue