mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[C21] Implemented Veinwitch Coven
This commit is contained in:
parent
167d2579ac
commit
d76853ed8b
2 changed files with 52 additions and 0 deletions
51
Mage.Sets/src/mage/cards/v/VeinwitchCoven.java
Normal file
51
Mage.Sets/src/mage/cards/v/VeinwitchCoven.java
Normal file
|
@ -0,0 +1,51 @@
|
|||
package mage.cards.v;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.GainLifeControllerTriggeredAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class VeinwitchCoven extends CardImpl {
|
||||
|
||||
public VeinwitchCoven(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}");
|
||||
|
||||
this.subtype.add(SubType.VAMPIRE);
|
||||
this.subtype.add(SubType.WARLOCK);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Menace
|
||||
this.addAbility(new MenaceAbility());
|
||||
|
||||
// Whenever you gain life, you pay {B}. If you do, return target creature card from your graveyard to your hand.
|
||||
Ability ability = new GainLifeControllerTriggeredAbility(new DoIfCostPaid(
|
||||
new ReturnFromGraveyardToHandTargetEffect(), new ManaCostsImpl<>("{B}")
|
||||
), false);
|
||||
ability.addTarget(new TargetCardInYourGraveyard(StaticFilters.FILTER_CARD_CREATURE_YOUR_GRAVEYARD));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private VeinwitchCoven(final VeinwitchCoven card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VeinwitchCoven copy() {
|
||||
return new VeinwitchCoven(this);
|
||||
}
|
||||
}
|
|
@ -227,6 +227,7 @@ public final class Commander2021Edition extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Trygon Predator", 231, Rarity.UNCOMMON, mage.cards.t.TrygonPredator.class));
|
||||
cards.add(new SetCardInfo("Unstable Obelisk", 272, Rarity.UNCOMMON, mage.cards.u.UnstableObelisk.class));
|
||||
cards.add(new SetCardInfo("Utter End", 232, Rarity.RARE, mage.cards.u.UtterEnd.class));
|
||||
cards.add(new SetCardInfo("Veinwitch Coven", 46, Rarity.RARE, mage.cards.v.VeinwitchCoven.class));
|
||||
cards.add(new SetCardInfo("Veyran, Voice of Duality", 3, Rarity.MYTHIC, mage.cards.v.VeyranVoiceOfDuality.class));
|
||||
cards.add(new SetCardInfo("Victory Chimes", 274, Rarity.RARE, mage.cards.v.VictoryChimes.class));
|
||||
cards.add(new SetCardInfo("Volcanic Vision", 182, Rarity.RARE, mage.cards.v.VolcanicVision.class));
|
||||
|
|
Loading…
Reference in a new issue