mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
refactored many other predicates to singleton enums
This commit is contained in:
parent
dc409c9a9e
commit
8629977f14
595 changed files with 657 additions and 660 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue