Stop controller of Future Sight/Melek, Izzet Paragon/Magus of the Future from playing cards with no mana cost (such as Ancestral Vision/Hypergensesis)

This commit is contained in:
spjspj 2016-02-06 18:33:17 +11:00
parent d2eb6151f1
commit eec4ca124e

View file

@ -77,6 +77,7 @@ public class PlayTheTopCardEffect extends AsThoughEffectImpl {
if (cardOnTop != null if (cardOnTop != null
&& affectedControllerId.equals(source.getControllerId()) && affectedControllerId.equals(source.getControllerId())
&& cardOnTop.getOwnerId().equals(source.getControllerId()) && cardOnTop.getOwnerId().equals(source.getControllerId())
&& !cardOnTop.getManaCost().isEmpty()
&& filter.match(cardOnTop, game)) { && filter.match(cardOnTop, game)) {
Player player = game.getPlayer(cardOnTop.getOwnerId()); Player player = game.getPlayer(cardOnTop.getOwnerId());
if (player != null && cardOnTop.equals(player.getLibrary().getFromTop(game))) { if (player != null && cardOnTop.equals(player.getLibrary().getFromTop(game))) {