mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
[MH2] Implemented Faithless Salvaging
This commit is contained in:
parent
1e70a7436b
commit
7b508b9fa3
2 changed files with 37 additions and 0 deletions
36
Mage.Sets/src/mage/cards/f/FaithlessSalvaging.java
Normal file
36
Mage.Sets/src/mage/cards/f/FaithlessSalvaging.java
Normal file
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.discard.DiscardControllerEffect;
|
||||
import mage.abilities.keyword.ReboundAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class FaithlessSalvaging extends CardImpl {
|
||||
|
||||
public FaithlessSalvaging(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}");
|
||||
|
||||
// Discard a card, then draw a card.
|
||||
this.getSpellAbility().addEffect(new DiscardControllerEffect(1));
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy(", then"));
|
||||
|
||||
// Rebound
|
||||
this.addAbility(new ReboundAbility());
|
||||
}
|
||||
|
||||
private FaithlessSalvaging(final FaithlessSalvaging card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FaithlessSalvaging copy() {
|
||||
return new FaithlessSalvaging(this);
|
||||
}
|
||||
}
|
|
@ -76,6 +76,7 @@ public final class ModernHorizons2 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Ethersworn Sphinx", 195, Rarity.UNCOMMON, mage.cards.e.EtherswornSphinx.class));
|
||||
cards.add(new SetCardInfo("Extruder", 296, Rarity.UNCOMMON, mage.cards.e.Extruder.class));
|
||||
cards.add(new SetCardInfo("Fae Offering", 158, Rarity.UNCOMMON, mage.cards.f.FaeOffering.class));
|
||||
cards.add(new SetCardInfo("Faithless Salvaging", 122, Rarity.COMMON, mage.cards.f.FaithlessSalvaging.class));
|
||||
cards.add(new SetCardInfo("Fast // Furious", 123, Rarity.UNCOMMON, mage.cards.f.FastFurious.class));
|
||||
cards.add(new SetCardInfo("Feast of Sanity", 84, Rarity.UNCOMMON, mage.cards.f.FeastOfSanity.class));
|
||||
cards.add(new SetCardInfo("Filigree Attendant", 41, Rarity.UNCOMMON, mage.cards.f.FiligreeAttendant.class));
|
||||
|
|
Loading…
Reference in a new issue