forked from External/mage
Reworking card types in preparation for implementing Grist, the Hunger Tide (#7899)
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
This commit is contained in:
parent
07e1dff10c
commit
572104b8fc
1159 changed files with 2704 additions and 2203 deletions
|
|
@ -915,7 +915,7 @@ public class VerifyCardDataTest {
|
|||
Assert.assertNotNull(card);
|
||||
|
||||
// CHECK: all planeswalkers must be legendary
|
||||
if (card.getCardType().contains(CardType.PLANESWALKER) && !card.getSuperType().contains(SuperType.LEGENDARY)) {
|
||||
if (card.isPlaneswalker() && !card.getSuperType().contains(SuperType.LEGENDARY)) {
|
||||
errorsList.add("Error: planeswalker must have legendary type: " + set.getCode() + " - " + set.getName() + " - " + card.getName() + " - " + card.getCardNumber());
|
||||
}
|
||||
|
||||
|
|
@ -1335,7 +1335,7 @@ public class VerifyCardDataTest {
|
|||
}
|
||||
|
||||
// spells have only 1 ability
|
||||
if (card.isSorcery() || card.isInstant()) {
|
||||
if (card.isInstantOrSorcery()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue