mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* Consign to Dust - Fixed that only creature enchantments could be selected as target.
This commit is contained in:
parent
b93cafe707
commit
c953bf6260
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ import mage.abilities.effects.common.DestroyTargetEffect;
|
|||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||
import mage.target.Target;
|
||||
|
@ -46,7 +46,7 @@ import mage.target.TargetPermanent;
|
|||
*/
|
||||
public class ConsignToDust extends CardImpl<ConsignToDust> {
|
||||
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("artifacts and/or enchantments");
|
||||
private static final FilterPermanent filter = new FilterPermanent("artifacts and/or enchantments");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.or(new CardTypePredicate(CardType.ARTIFACT), new CardTypePredicate(CardType.ENCHANTMENT)));
|
||||
|
|
Loading…
Reference in a new issue