mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
Fixed ReturnFromExileEffect, some formatting.
This commit is contained in:
parent
3842aeba7d
commit
61add5ab5b
4 changed files with 27 additions and 24 deletions
|
|
@ -28,16 +28,16 @@
|
|||
package mage.sets.innistrad;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.Zone;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.ReplacementEffectImpl;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.Zone;
|
||||
import mage.counters.CounterType;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ class PropheticFlamespeakerCastFromExileEffect extends AsThoughEffectImpl<Prophe
|
|||
Player player = game.getPlayer(source.getControllerId());
|
||||
if (player != null ) {
|
||||
if (card.getCardType().contains(CardType.LAND)) {
|
||||
// If the revealed card is a land, you can play it only if it's your turn and you haven't yet played a land this turn.
|
||||
// If the revealed card is a land, you can play it only if it's your turn and you can play still a land this turn.
|
||||
if (player.canPlayLand()
|
||||
&& game.getActivePlayerId().equals(player.getId())
|
||||
&& game.getStack().isEmpty()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue