mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08: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
|
@Test
|
||||||
public void testSimpleCopyExiledAtEnd() {
|
public void testSimpleCopySacrificeAtEnd() {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 5);
|
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 5);
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Kiki-Jiki, Mirror Breaker", 1);
|
addCard(Zone.BATTLEFIELD, playerA, "Kiki-Jiki, Mirror Breaker", 1);
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Voice of Resurgence", 1);
|
addCard(Zone.BATTLEFIELD, playerA, "Voice of Resurgence", 1);
|
||||||
|
|
@ -68,7 +68,7 @@ public class KikiJikiMirrorBreakerTest extends CardTestPlayerBase {
|
||||||
|
|
||||||
assertLife(playerA, 20);
|
assertLife(playerA, 20);
|
||||||
assertLife(playerB, 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);
|
assertPermanentCount(playerA, "Voice of Resurgence", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -109,9 +109,7 @@ class ExtortEffect extends OneShotEffect {
|
||||||
if (loseLife > 0) {
|
if (loseLife > 0) {
|
||||||
game.getPlayer(source.getControllerId()).gainLife(loseLife, game);
|
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;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue