forked from External/mage
commit
7443794e46
2 changed files with 42 additions and 0 deletions
41
Mage.Sets/src/mage/cards/s/SoulStrings.java
Normal file
41
Mage.Sets/src/mage/cards/s/SoulStrings.java
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.costs.mana.VariableManaCost;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.DoUnlessAnyPlayerPaysEffect;
|
||||
import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.common.FilterCreatureCard;
|
||||
import mage.target.common.TargetCardInGraveyard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jmharmon
|
||||
*/
|
||||
|
||||
public final class SoulStrings extends CardImpl {
|
||||
|
||||
public SoulStrings(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{B}");
|
||||
|
||||
// Return two target creature cards from your graveyard to your hand unless any player pays {X}.
|
||||
Effect effect = new DoUnlessAnyPlayerPaysEffect(
|
||||
new ReturnFromGraveyardToHandTargetEffect(), new VariableManaCost()
|
||||
);
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(2, new FilterCreatureCard("creature cards from your graveyard")));
|
||||
}
|
||||
|
||||
public SoulStrings(final SoulStrings card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SoulStrings copy() {
|
||||
return new SoulStrings(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -136,6 +136,7 @@ public final class Prophecy extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Silt Crawler", 123, Rarity.COMMON, mage.cards.s.SiltCrawler.class));
|
||||
cards.add(new SetCardInfo("Snag", 124, Rarity.UNCOMMON, mage.cards.s.Snag.class));
|
||||
cards.add(new SetCardInfo("Soul Charmer", 24, Rarity.COMMON, mage.cards.s.SoulCharmer.class));
|
||||
cards.add(new SetCardInfo("Soul Strings", 78, Rarity.COMMON, mage.cards.s.SoulStrings.class));
|
||||
cards.add(new SetCardInfo("Spiketail Drake", 48, Rarity.UNCOMMON, mage.cards.s.SpiketailDrake.class));
|
||||
cards.add(new SetCardInfo("Spiketail Hatchling", 49, Rarity.COMMON, mage.cards.s.SpiketailHatchling.class));
|
||||
cards.add(new SetCardInfo("Spitting Spider", 125, Rarity.UNCOMMON, mage.cards.s.SpittingSpider.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue