* Veil of Secrecy - Fixed missing target definition.

This commit is contained in:
LevelX2 2014-12-14 16:43:57 +01:00
parent 37ac205332
commit 6bccbccce6

View file

@ -42,6 +42,7 @@ import mage.constants.Rarity;
import mage.filter.common.FilterControlledCreaturePermanent; import mage.filter.common.FilterControlledCreaturePermanent;
import mage.filter.predicate.mageobject.ColorPredicate; import mage.filter.predicate.mageobject.ColorPredicate;
import mage.target.common.TargetControlledCreaturePermanent; import mage.target.common.TargetControlledCreaturePermanent;
import mage.target.common.TargetCreaturePermanent;
/** /**
* *
@ -60,10 +61,9 @@ public class VeilOfSecrecy extends CardImpl {
this.expansionSetCode = "BOK"; this.expansionSetCode = "BOK";
this.subtype.add("Arcane"); this.subtype.add("Arcane");
this.color.setBlue(true);
// Target creature gains shroud until end of turn and is unblockable this turn. // Target creature gains shroud until end of turn and is unblockable this turn.
Effect effect = new GainAbilityTargetEffect(ShroudAbility.getInstance(), Duration.EndOfTurn); Effect effect = new GainAbilityTargetEffect(ShroudAbility.getInstance(), Duration.EndOfTurn);
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
effect.setText("Target creature gains shroud until end of turn"); effect.setText("Target creature gains shroud until end of turn");
this.getSpellAbility().addEffect(effect); this.getSpellAbility().addEffect(effect);
effect = new UnblockableTargetEffect(); effect = new UnblockableTargetEffect();