mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Face Down cards - Fixed that cards played face down (e.g. Morph) stayed wrongly face down when going to another zone.
This commit is contained in:
parent
56917609be
commit
b679699ea1
2 changed files with 4 additions and 1 deletions
|
@ -41,6 +41,7 @@ import mage.Mana;
|
|||
import mage.abilities.Ability;
|
||||
import mage.abilities.PlayLandAbility;
|
||||
import mage.abilities.SpellAbility;
|
||||
import mage.abilities.common.ZoneChangeAllTriggeredAbility;
|
||||
import mage.abilities.mana.ManaAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
|
@ -338,6 +339,9 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
|||
}
|
||||
game.rememberLKI(objectId, event.getFromZone(), this);
|
||||
}
|
||||
if (isFaceDown() && !event.getToZone().equals(Zone.BATTLEFIELD)) { // to battlefield is possible because of Morph
|
||||
setFaceDown(false);
|
||||
}
|
||||
updateZoneChangeCounter();
|
||||
switch (event.getToZone()) {
|
||||
case GRAVEYARD:
|
||||
|
|
|
@ -35,7 +35,6 @@ import java.util.HashSet;
|
|||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import mage.MageObject;
|
||||
import mage.abilities.Ability;
|
||||
|
|
Loading…
Reference in a new issue