mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
* Veil of Secrecy - Fixed missing target definition.
This commit is contained in:
parent
37ac205332
commit
6bccbccce6
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue