diff --git a/Mage.Sets/src/mage/cards/e/EligethCrossroadsAugur.java b/Mage.Sets/src/mage/cards/e/EligethCrossroadsAugur.java index 95672a8954..8ec30cec1a 100644 --- a/Mage.Sets/src/mage/cards/e/EligethCrossroadsAugur.java +++ b/Mage.Sets/src/mage/cards/e/EligethCrossroadsAugur.java @@ -66,7 +66,7 @@ class EligethCrossroadsAugurReplacementEffect extends ReplacementEffectImpl { @Override public boolean checksEventType(GameEvent event, Game game) { - return event.getType() == GameEvent.EventType.SURVEIL; + return event.getType() == GameEvent.EventType.SCRY; } @Override diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/single/cmr/EligethCrossroadsAugurTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/single/cmr/EligethCrossroadsAugurTest.java new file mode 100644 index 0000000000..32186e6a77 --- /dev/null +++ b/Mage.Tests/src/test/java/org/mage/test/cards/single/cmr/EligethCrossroadsAugurTest.java @@ -0,0 +1,37 @@ +package org.mage.test.cards.single.cmr; + +import mage.constants.PhaseStep; +import mage.constants.Zone; +import org.junit.Test; +import org.mage.test.serverside.base.CardTestPlayerBase; + +/** + * @author JayDi85 + */ + +public class EligethCrossroadsAugurTest extends CardTestPlayerBase { + + @Test + public void test_Playable() { + removeAllCardsFromLibrary(playerA); + addCard(Zone.LIBRARY, playerA, "Balduvian Bears", 2); + + // If you would scry a number of cards, draw that many cards instead. + addCard(Zone.BATTLEFIELD, playerA, "Eligeth, Crossroads Augur", 1); + // + // When Faerie Seer enters the battlefield, scry 2. + addCard(Zone.HAND, playerA, "Faerie Seer", 1); // {U} + addCard(Zone.BATTLEFIELD, playerA, "Island", 1); + + // scry multiple cards and draws instead + castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Faerie Seer"); + + setStrictChooseMode(true); + setStopAt(1, PhaseStep.END_TURN); + execute(); + assertAllCommandsUsed(); + + assertPermanentCount(playerA, "Faerie Seer", 1); + assertHandCount(playerA, "Balduvian Bears", 2); + } +}