mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Reveal a face-down card as it leaves the battlefield (rule 707.9).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user