mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 13:19:18 -08:00
* 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:
parent
c229654304
commit
4d2790be3f
3 changed files with 25 additions and 17 deletions
|
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue