mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
fix verify error with reversible omen cards
This commit is contained in:
parent
ad5093e728
commit
0f0026c375
1 changed files with 6 additions and 0 deletions
|
|
@ -1663,6 +1663,12 @@ public class VerifyCardDataTest {
|
|||
private void check(Card card, int cardIndex) {
|
||||
MtgJsonCard ref = MtgJsonService.cardFromSet(card.getExpansionSetCode(), card.getName(), card.getCardNumber());
|
||||
if (ref != null) {
|
||||
if (card instanceof SpellOptionCard && ref.layout.equals("reversible_card")) {
|
||||
// TODO: Remove when MtgJson updated
|
||||
// workaround for reversible omen cards e.g. Bloomvine Regent // Claim Territory // Bloomvine Regent
|
||||
// both sides have main card info
|
||||
return;
|
||||
}
|
||||
checkAll(card, ref, cardIndex);
|
||||
} else if (!CHECK_ONLY_ABILITIES_TEXT) {
|
||||
warn(card, "Can't find card in mtgjson to verify");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue