forked from External/mage
fix test failure
This commit is contained in:
parent
43e7d31cc5
commit
0ff60c91c1
1 changed files with 4 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ import mage.abilities.condition.common.LessonsInGraveCondition;
|
|||
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect;
|
||||
import mage.abilities.effects.common.discard.DiscardControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
|
@ -34,8 +35,9 @@ public final class ChakraMeditation extends CardImpl {
|
|||
StaticFilters.FILTER_SPELL_AN_INSTANT_OR_SORCERY, false
|
||||
);
|
||||
ability.addEffect(new ConditionalOneShotEffect(
|
||||
null, LessonsInGraveCondition.THREE, "Then discard a card " +
|
||||
"unless there are three or more Lesson cards in your graveyard"));
|
||||
null, new DiscardControllerEffect(1), LessonsInGraveCondition.THREE,
|
||||
"Then discard a card unless there are three or more Lesson cards in your graveyard"
|
||||
));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue