mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
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:
parent
d2eb6151f1
commit
eec4ca124e
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ public class PlayTheTopCardEffect extends AsThoughEffectImpl {
|
|||
if (cardOnTop != null
|
||||
&& affectedControllerId.equals(source.getControllerId())
|
||||
&& cardOnTop.getOwnerId().equals(source.getControllerId())
|
||||
&& !cardOnTop.getManaCost().isEmpty()
|
||||
&& filter.match(cardOnTop, game)) {
|
||||
Player player = game.getPlayer(cardOnTop.getOwnerId());
|
||||
if (player != null && cardOnTop.equals(player.getLibrary().getFromTop(game))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue