mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
* Tangle Wire - fix that enchantments could be tapped
This commit is contained in:
parent
3fa12ee2bb
commit
133580bf70
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,7 @@ import mage.constants.Zone;
|
|||
import mage.counters.CounterType;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||
import mage.filter.predicate.permanent.TappedPredicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
@ -78,6 +79,10 @@ class TangleWireEffect extends OneShotEffect {
|
|||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("untapped artifact, creature, or land he or she controls");
|
||||
static{
|
||||
filter.add(Predicates.not(new TappedPredicate()));
|
||||
filter.add(Predicates.or(
|
||||
new CardTypePredicate(CardType.ARTIFACT),
|
||||
new CardTypePredicate(CardType.CREATURE),
|
||||
new CardTypePredicate(CardType.LAND)));
|
||||
}
|
||||
|
||||
TangleWireEffect() {
|
||||
|
|
Loading…
Reference in a new issue