* Crypsis - fixed rollback error on card usage;
-
package mage.cards.c;
-import java.util.UUID;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.UntapTargetEffect;
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
@@ -11,16 +9,17 @@ import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.TargetController;
-import mage.filter.FilterCard;
+import mage.filter.FilterPermanent;
import mage.target.common.TargetControlledCreaturePermanent;
+import java.util.UUID;
+
/**
- *
* @author LevelX2
*/
public final class Crypsis extends CardImpl {
- static final FilterCard filter = new FilterCard("creatures your opponents control");
+ static final FilterPermanent filter = new FilterPermanent("creatures your opponents control");
static {
filter.add(CardType.CREATURE.getPredicate());
@@ -30,7 +29,6 @@ public final class Crypsis extends CardImpl {
public Crypsis(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}");
-
// Target creature you control gains protection from creatures your opponents control until end of turn. Untap it.
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(new ProtectionAbility(filter), Duration.EndOfTurn));
Effect effect = new UntapTargetEffect();
