Reveal a face-down card as it leaves the battlefield (rule 707.9).

This commit is contained in:
elcnesh
2014-06-14 21:42:22 +00:00
parent 28d045a5d7
commit ac6a2965f7

View File

@@ -272,6 +272,13 @@ public class GameAction {
c.setPairedWith(null);
}
}
// Reveal if face-down
if (c.isFaceDown()) {
c.setState(CardCharacteristicName.Original);
this.reveal(Collections.singleton(c), c.getOwner(), true, "Face-down card leaves the battlefield");
c.setState(CardCharacteristicName.FaceDown);
copied.setState(CardCharacteristicName.Original);
}
unattachCardLeavingBattlefield(copied);
} else if (toBattlefield) {
// reset timestamp in changezone effects so they have same timestamp if ETB simutaneously