mirror of
https://github.com/correl/mage.git
synced 2024-12-29 11:09:17 +00:00
[VOW] Implemented Thirst for Discovery
This commit is contained in:
parent
f99871a25c
commit
09d1f548b4
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/t/ThirstForDiscovery.java
Normal file
39
Mage.Sets/src/mage/cards/t/ThirstForDiscovery.java
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
package mage.cards.t;
|
||||||
|
|
||||||
|
import mage.abilities.costs.common.DiscardCardCost;
|
||||||
|
import mage.abilities.effects.common.DoIfCostPaid;
|
||||||
|
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||||
|
import mage.abilities.effects.common.discard.DiscardControllerEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.filter.StaticFilters;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class ThirstForDiscovery extends CardImpl {
|
||||||
|
|
||||||
|
public ThirstForDiscovery(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}");
|
||||||
|
|
||||||
|
// Draw three cards. Then discard two cards unless you discard a basic land card.
|
||||||
|
DiscardCardCost cost = new DiscardCardCost(StaticFilters.FILTER_CARD_BASIC_LAND_A);
|
||||||
|
cost.setText("discard a basic land card instead of discarding two cards");
|
||||||
|
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3));
|
||||||
|
this.getSpellAbility().addEffect(new DoIfCostPaid(
|
||||||
|
null, new DiscardControllerEffect(2), cost
|
||||||
|
).setText("Then discard two cards unless you discard a basic land card"));
|
||||||
|
}
|
||||||
|
|
||||||
|
private ThirstForDiscovery(final ThirstForDiscovery card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ThirstForDiscovery copy() {
|
||||||
|
return new ThirstForDiscovery(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -99,6 +99,7 @@ public final class InnistradCrimsonVow extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Swamp", 272, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
|
cards.add(new SetCardInfo("Swamp", 272, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
|
||||||
cards.add(new SetCardInfo("Syncopate", 83, Rarity.COMMON, mage.cards.s.Syncopate.class));
|
cards.add(new SetCardInfo("Syncopate", 83, Rarity.COMMON, mage.cards.s.Syncopate.class));
|
||||||
cards.add(new SetCardInfo("Thalia, Guardian of Thraben", 38, Rarity.RARE, mage.cards.t.ThaliaGuardianOfThraben.class));
|
cards.add(new SetCardInfo("Thalia, Guardian of Thraben", 38, Rarity.RARE, mage.cards.t.ThaliaGuardianOfThraben.class));
|
||||||
|
cards.add(new SetCardInfo("Thirst for Discovery", 85, Rarity.UNCOMMON, mage.cards.t.ThirstForDiscovery.class));
|
||||||
cards.add(new SetCardInfo("Torens, Fist of the Angels", 249, Rarity.RARE, mage.cards.t.TorensFistOfTheAngels.class));
|
cards.add(new SetCardInfo("Torens, Fist of the Angels", 249, Rarity.RARE, mage.cards.t.TorensFistOfTheAngels.class));
|
||||||
cards.add(new SetCardInfo("Twinblade Geist", 40, Rarity.UNCOMMON, mage.cards.t.TwinbladeGeist.class));
|
cards.add(new SetCardInfo("Twinblade Geist", 40, Rarity.UNCOMMON, mage.cards.t.TwinbladeGeist.class));
|
||||||
cards.add(new SetCardInfo("Twinblade Invocation", 40, Rarity.UNCOMMON, mage.cards.t.TwinbladeInvocation.class));
|
cards.add(new SetCardInfo("Twinblade Invocation", 40, Rarity.UNCOMMON, mage.cards.t.TwinbladeInvocation.class));
|
||||||
|
|
Loading…
Reference in a new issue