forked from External/mage
Removed unnecessary custom text from some cards (opponent loses life and you gain life)
This commit is contained in:
parent
05950dcc2f
commit
ff91ffe1a7
27 changed files with 122 additions and 264 deletions
|
|
@ -985,13 +985,18 @@ public class VerifyCardDataTest {
|
|||
System.out.println();
|
||||
System.out.println(card.getName() + " " + card.getManaCost().getText());
|
||||
if (card instanceof SplitCard) {
|
||||
card.getAbilities().getRules(card.getName()).forEach(System.out::println);
|
||||
card.getAbilities().getRules(card.getName()).forEach(this::printAbilityText);
|
||||
} else {
|
||||
card.getRules().forEach(System.out::println);
|
||||
card.getRules().forEach(this::printAbilityText);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void printAbilityText(String text) {
|
||||
text = text.replace("<br>", "\n");
|
||||
System.out.println(text);
|
||||
}
|
||||
|
||||
private void checkWrongAbilitiesText(Card card, JsonCard ref, int cardIndex) {
|
||||
// checks missing or wrong text
|
||||
if (!card.getExpansionSetCode().equals(FULL_ABILITIES_CHECK_SET_CODE)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue