mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
added test to check for changeling cards having isAllCreatureTypes set to true
This commit is contained in:
parent
746c203565
commit
6d91ee69d4
1 changed files with 4 additions and 0 deletions
|
@ -1301,6 +1301,10 @@ public class VerifyCardDataTest {
|
|||
if (card.getAbilities().toArray().length == 1) { // all cards have 1 inner ability to cast
|
||||
fail(card, "abilities", "card's abilities is empty, but ref have text");
|
||||
}
|
||||
|
||||
if (card.getAbilities().contains(ChangelingAbility.getInstance()) && !card.isAllCreatureTypes()) {
|
||||
fail(card, "abilities", "card has changeling ability but doesn't have isAllCreatureTypes");
|
||||
}
|
||||
}
|
||||
|
||||
private void checkWrongSymbolsInRules(Card card) {
|
||||
|
|
Loading…
Reference in a new issue