* Fixed a bug that continuous effects of cards that were put onto battlefield not under owner control could be applied using the owner as controller. Fixes #604 (I guess).

This commit is contained in:
LevelX2 2014-11-05 00:19:17 +01:00
parent c53985a3dd
commit 95d30d9085
3 changed files with 8 additions and 1 deletions

View file

@ -47,6 +47,9 @@ public class PutIntoPlayEffectsTest extends CardTestPlayerBase {
@Test
public void testLordOfTheVoid() {
skipInitShuffling();
// You may play an additional land on each of your turns.
// Play with the top card of your library revealed.
// You may play the top card of your library if it's a land card.
addCard(Zone.LIBRARY, playerA, "Oracle of Mul Daya", 4);
// Whenever Lord of the Void deals combat damage to a player, exile the top seven cards
// of that player's library, then put a creature card from among them
@ -63,8 +66,9 @@ public class PutIntoPlayEffectsTest extends CardTestPlayerBase {
assertLife(playerA, 13);
assertPermanentCount(playerB, "Oracle of Mul Daya", 1);
Assert.assertTrue("Top card of the library of player B should be reveled.", playerB.isTopCardRevealed());
Assert.assertFalse("Top card of the library of player A should not be reveled.", playerA.isTopCardRevealed());
Assert.assertTrue("Top card of the library of player B should be reveled.", playerB.isTopCardRevealed());
}
/*