mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Oblivion Sower - Fixed that it can grab face-down cards if they're lands (fixes #3410).
This commit is contained in:
parent
a4aae3ed00
commit
c8bbc0f035
1 changed files with 4 additions and 1 deletions
|
@ -42,6 +42,8 @@ import mage.constants.Outcome;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
import mage.filter.FilterCard;
|
import mage.filter.FilterCard;
|
||||||
import mage.filter.common.FilterLandCard;
|
import mage.filter.common.FilterLandCard;
|
||||||
|
import mage.filter.predicate.Predicates;
|
||||||
|
import mage.filter.predicate.other.FaceDownPredicate;
|
||||||
import mage.filter.predicate.other.OwnerIdPredicate;
|
import mage.filter.predicate.other.OwnerIdPredicate;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.players.Player;
|
import mage.players.Player;
|
||||||
|
@ -104,6 +106,7 @@ class OblivionSowerEffect extends OneShotEffect {
|
||||||
if (controller != null && targetPlayer != null) {
|
if (controller != null && targetPlayer != null) {
|
||||||
FilterLandCard filter = new FilterLandCard();
|
FilterLandCard filter = new FilterLandCard();
|
||||||
filter.add(new OwnerIdPredicate(targetPlayer.getId()));
|
filter.add(new OwnerIdPredicate(targetPlayer.getId()));
|
||||||
|
filter.add(Predicates.not(new FaceDownPredicate()));
|
||||||
Cards exiledCards = new CardsImpl();
|
Cards exiledCards = new CardsImpl();
|
||||||
exiledCards.addAll(game.getExile().getAllCards(game));
|
exiledCards.addAll(game.getExile().getAllCards(game));
|
||||||
Cards exiledLands = new CardsImpl();
|
Cards exiledLands = new CardsImpl();
|
||||||
|
|
Loading…
Reference in a new issue