* Thirst for Meaning - fixed that it doesn't allow to discard artifact card as pay;

* Thirst for Knowledge - fixed that it doesn't allow to discard enchantment card as pay;
This commit is contained in:
Oleg Agafonov 2020-01-13 15:03:01 +04:00
parent c229654304
commit 4d2790be3f
3 changed files with 25 additions and 17 deletions

View file

@ -1,4 +1,3 @@
package mage.cards.t;
import mage.abilities.costs.common.DiscardCardCost;
@ -24,9 +23,13 @@ public final class ThirstForKnowledge extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}");
// Draw three cards. Then discard two cards unless you discard an artifact card.
DiscardCardCost cost = new DiscardCardCost(filter);
cost.setText("discard one artifact card instead two cards");
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3));
this.getSpellAbility().addEffect(new DoIfCostPaid(
null, new DiscardControllerEffect(2), new DiscardCardCost(filter)
null,
new DiscardControllerEffect(2),
cost
).setText("Then discard two cards unless you discard an artifact card"));
}

View file

@ -23,9 +23,13 @@ public final class ThirstForMeaning extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}");
// Draw three cards. Then discard two cards unless you discard an enchantment card.
DiscardCardCost cost = new DiscardCardCost(filter);
cost.setText("discard one enchantment card instead two cards");
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3));
this.getSpellAbility().addEffect(new DoIfCostPaid(
null, new DiscardControllerEffect(2), new DiscardCardCost(filter)
null,
new DiscardControllerEffect(2),
cost
).setText("Then discard two cards unless you discard an enchantment card"));
}