mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Reveal face down cards leaving the stack zone and not entering the battlefield (per rule 504.6).
This commit is contained in:
@@ -310,6 +310,13 @@ public class GameAction {
|
||||
copied.clearDelved();
|
||||
}
|
||||
|
||||
// rule 504.6: reveal a face-down card leaving the stack
|
||||
if (zoneFrom.is(ZoneType.Stack) && !zoneTo.is(ZoneType.Battlefield) && c.isFaceDown()) {
|
||||
c.setState(CardStateName.Original, true);
|
||||
reveal(new CardCollection(c), c.getOwner(), true, "Face-down card moves from the stack: ");
|
||||
c.setState(CardStateName.FaceDown, true);
|
||||
}
|
||||
|
||||
if (fromBattlefield) {
|
||||
if (!c.isToken()) {
|
||||
copied.setSuspendCast(false);
|
||||
|
||||
Reference in New Issue
Block a user