From 052f3dc42252186feb3b5988d7614b38a430027e Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 5 Feb 2022 16:24:10 -0500 Subject: [PATCH] added verify check for nightCard on DFCs --- Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java index 49570e7025..50516f70aa 100644 --- a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java +++ b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java @@ -1411,6 +1411,10 @@ public class VerifyCardDataTest { fail(card, "abilities", "double-faced cards should not have transform ability on the back"); } + if (card.getSecondCardFace() != null && !card.getSecondCardFace().isNightCard()) { + fail(card, "abilities", "the back face of a double-faced card should be nightCard = true"); + } + // special check: missing or wrong ability/effect hints Map hints = new HashMap<>();