mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[MID] fixed a few dfcs
This commit is contained in:
parent
33870c7a4b
commit
857a1bc9b2
7 changed files with 22 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ import mage.abilities.common.WerewolfFrontTriggeredAbility;
|
|||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.abilities.keyword.MultikickerAbility;
|
||||
import mage.abilities.keyword.TransformAbility;
|
||||
import mage.cards.*;
|
||||
import mage.cards.decks.DeckCardLists;
|
||||
import mage.cards.decks.importer.DeckImporter;
|
||||
|
|
@ -1381,6 +1382,14 @@ public class VerifyCardDataTest {
|
|||
fail(card, "abilities", "card is a front face werewolf with a back face ability");
|
||||
}
|
||||
|
||||
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: missing or wrong ability/effect hints
|
||||
Map<Class, String> hints = new HashMap<>();
|
||||
hints.put(MenaceAbility.class, "can't be blocked except by two or more");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue