refactored many other predicates to singleton enums

This commit is contained in:
Evan Kranzler 2019-01-12 16:30:49 -05:00
parent dc409c9a9e
commit 8629977f14
595 changed files with 657 additions and 660 deletions

View file

@ -1159,7 +1159,7 @@ public class TestPlayer implements Player {
findPermanent(firstFilter, groups[0], computerPlayer.getId(), game);
// Second check to filter creature for combat - less strict to workaround issue in #3038
FilterCreatureForCombat secondFilter = new FilterCreatureForCombat();
// secondFilter.add(Predicates.not(new AttackingPredicate()));
// secondFilter.add(Predicates.not(AttackingPredicate.instance));
secondFilter.add(Predicates.not(new SummoningSicknessPredicate()));
// TODO: Cannot enforce legal attackers multiple times per combat. See issue #3038
Permanent attacker = findPermanent(secondFilter, groups[0], computerPlayer.getId(), game, false);