mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
fixed a test failure
This commit is contained in:
parent
043aae6dff
commit
238509552c
1 changed files with 4 additions and 5 deletions
|
@ -3,7 +3,7 @@ package mage.cards.d;
|
||||||
import mage.abilities.common.SimpleStaticAbility;
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
import mage.abilities.condition.common.RevealedOrControlledDragonCondition;
|
import mage.abilities.condition.common.RevealedOrControlledDragonCondition;
|
||||||
import mage.abilities.costs.common.RevealDragonFromHandCost;
|
import mage.abilities.costs.common.RevealDragonFromHandCost;
|
||||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
import mage.abilities.decorator.ConditionalContinuousRuleModifyingEffect;
|
||||||
import mage.abilities.effects.common.CantBeCounteredSourceEffect;
|
import mage.abilities.effects.common.CantBeCounteredSourceEffect;
|
||||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
|
@ -27,10 +27,9 @@ public final class DragonlordsPrerogative extends CardImpl {
|
||||||
// If you revealed a Dragon card or controlled a Dragon as you cast Dragonlord's Prerogative, Dragonlord's Prerogative can't be countered.
|
// If you revealed a Dragon card or controlled a Dragon as you cast Dragonlord's Prerogative, Dragonlord's Prerogative can't be countered.
|
||||||
this.addAbility(new SimpleStaticAbility(
|
this.addAbility(new SimpleStaticAbility(
|
||||||
Zone.STACK,
|
Zone.STACK,
|
||||||
new ConditionalContinuousEffect(
|
new ConditionalContinuousRuleModifyingEffect(
|
||||||
new CantBeCounteredSourceEffect(), RevealedOrControlledDragonCondition.instance,
|
new CantBeCounteredSourceEffect(), RevealedOrControlledDragonCondition.instance
|
||||||
"if you revealed a Dragon card or controlled a Dragon as you cast this spell, this spell can't be countered"
|
).setText("if you revealed a Dragon card or controlled a Dragon as you cast this spell, this spell can't be countered")
|
||||||
)
|
|
||||||
));
|
));
|
||||||
|
|
||||||
// Draw four cards.
|
// Draw four cards.
|
||||||
|
|
Loading…
Reference in a new issue