added verify check for nightCard on DFCs

This commit is contained in:
Evan Kranzler 2022-02-05 16:24:10 -05:00
parent fe9b68e530
commit 052f3dc422

View file

@ -1411,6 +1411,10 @@ public class VerifyCardDataTest {
fail(card, "abilities", "double-faced cards should not have transform ability on the back"); 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 // special check: missing or wrong ability/effect hints
Map<Class, String> hints = new HashMap<>(); Map<Class, String> hints = new HashMap<>();