mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fixed Miracle Worker's targetting (fixes #4185)
This commit is contained in:
parent
2dcaf1d8b9
commit
3b18494054
1 changed files with 4 additions and 2 deletions
|
@ -38,8 +38,9 @@ import mage.cards.CardImpl;
|
|||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.filter.predicate.permanent.AttachedToControlledPermanentPredicate;
|
||||
import mage.filter.predicate.permanent.AttachedToPredicate;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
|
@ -52,7 +53,8 @@ public class MiracleWorker extends CardImpl {
|
|||
private static final FilterPermanent filter = new FilterPermanent("Aura attached to a creature you control");
|
||||
|
||||
static {
|
||||
filter.add(new AttachedToPredicate(new FilterControlledCreaturePermanent()));
|
||||
filter.add(new AttachedToControlledPermanentPredicate());
|
||||
filter.add(new AttachedToPredicate(new FilterCreaturePermanent()));
|
||||
filter.add(new SubtypePredicate(SubType.AURA));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue