forked from External/mage
Fix Dazzling Denial to actually target a spell to counter.
This commit is contained in:
parent
9f1031f286
commit
ac322a11cd
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ import mage.cards.CardSetInfo;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.target.TargetSpell;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
|
|
@ -27,6 +28,7 @@ public final class DazzlingDenial extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}");
|
||||
|
||||
// Counter target spell unless its controller pays {2}. If you control a Bird, counter that spell unless its controller pays {4} instead.
|
||||
this.getSpellAbility().addTarget(new TargetSpell());
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new CounterUnlessPaysEffect(new GenericManaCost(4)),
|
||||
new CounterUnlessPaysEffect(new GenericManaCost(2)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue