diff --git a/Mage/src/main/java/mage/game/command/dungeons/UndercityDungeon.java b/Mage/src/main/java/mage/game/command/dungeons/UndercityDungeon.java index 6c289a1509..611044d008 100644 --- a/Mage/src/main/java/mage/game/command/dungeons/UndercityDungeon.java +++ b/Mage/src/main/java/mage/game/command/dungeons/UndercityDungeon.java @@ -14,6 +14,7 @@ import mage.abilities.keyword.HexproofAbility; import mage.cards.Card; import mage.cards.Cards; import mage.cards.CardsImpl; +import mage.constants.Duration; import mage.constants.Outcome; import mage.constants.Zone; import mage.counters.CounterType; @@ -46,7 +47,7 @@ public class UndercityDungeon extends Dungeon { DungeonRoom secretEntrance = new DungeonRoom( "Secret Entrance", new SearchLibraryPutInHandEffect( - new TargetCardInLibrary(StaticFilters.FILTER_CARD_BASIC_LAND) + new TargetCardInLibrary(StaticFilters.FILTER_CARD_BASIC_LAND), true ) ); @@ -159,7 +160,7 @@ class ThroneOfTheDeadThreeEffect extends OneShotEffect { player.moveCards(card, Zone.BATTLEFIELD, source, game); Permanent permanent = game.getPermanent(card.getId()); permanent.addCounters(CounterType.P1P1.createInstance(3), source, game); - game.addEffect(new GainAbilityTargetEffect(HexproofAbility.getInstance()) + game.addEffect(new GainAbilityTargetEffect(HexproofAbility.getInstance(), Duration.UntilYourNextTurn) .setTargetPointer(new FixedTarget(permanent, game)), source); } player.shuffleLibrary(source, game);