forked from External/mage
Refactor damage with power effect, added checking for wrong targets;
This commit is contained in:
parent
62530b3880
commit
4a004a27b3
16 changed files with 212 additions and 131 deletions
|
|
@ -921,7 +921,12 @@ public class VerifyCardDataTest {
|
|||
CardSetInfo testSet = new CardSetInfo(cardName, "test", "123", Rarity.COMMON);
|
||||
CardInfo cardInfo = CardRepository.instance.findCard(cardName);
|
||||
Card card = CardImpl.createCard(cardInfo.getClassName(), testSet);
|
||||
card.getRules().stream().forEach(System.out::println);
|
||||
System.out.println(card.getName());
|
||||
if (card instanceof SplitCard) {
|
||||
card.getAbilities().getRules(card.getName()).stream().forEach(System.out::println);
|
||||
} else {
|
||||
card.getRules().stream().forEach(System.out::println);
|
||||
}
|
||||
}
|
||||
|
||||
private void checkWrongAbilitiesText(Card card, JsonCard ref) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue