forked from External/mage
[CLB] fixed verify tests
This commit is contained in:
parent
4546623fb6
commit
5c1fe5075f
4 changed files with 21 additions and 3 deletions
|
|
@ -1403,14 +1403,15 @@ public class VerifyCardDataTest {
|
|||
fail(card, "abilities", "card is a front face werewolf with a back face ability");
|
||||
}
|
||||
|
||||
// special check: transform ability in MDFC should only be on front and vice versa
|
||||
if (card.getSecondCardFace() != null && !card.isNightCard() && !card.getAbilities().containsClass(TransformAbility.class)) {
|
||||
fail(card, "abilities", "double-faced cards should have transform ability on the front");
|
||||
}
|
||||
|
||||
if (card.getSecondCardFace() != null && card.isNightCard() && card.getAbilities().containsClass(TransformAbility.class)) {
|
||||
fail(card, "abilities", "double-faced cards should not have transform ability on the back");
|
||||
}
|
||||
|
||||
// special check: back side in MDFC must be only night card
|
||||
if (card.getSecondCardFace() != null && !card.getSecondCardFace().isNightCard()) {
|
||||
fail(card, "abilities", "the back face of a double-faced card should be nightCard = true");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue