mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
fix verify failure
This commit is contained in:
parent
41114c667b
commit
22b096cd04
3 changed files with 8 additions and 3 deletions
|
|
@ -3064,6 +3064,11 @@ public class VerifyCardDataTest {
|
|||
return;
|
||||
}
|
||||
|
||||
// Spacecraft are ignored as they shouldn't have a printed power/toughness but they do in the data
|
||||
if (ref.subtypes.contains("Spacecraft")) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!eqPT(card.getPower().toString(), ref.power) || !eqPT(card.getToughness().toString(), ref.toughness)) {
|
||||
String pt = card.getPower() + "/" + card.getToughness();
|
||||
String expected = ref.power + '/' + ref.toughness;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue