mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
added verify check for nightCard on DFCs
This commit is contained in:
parent
fe9b68e530
commit
052f3dc422
1 changed files with 4 additions and 0 deletions
|
@ -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<>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue