forked from External/mage
[TLA] Implement Uncle's Musings
This commit is contained in:
parent
f0370c4759
commit
aa2fd2534e
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/u/UnclesMusings.java
Normal file
44
Mage.Sets/src/mage/cards/u/UnclesMusings.java
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.u;
|
||||
|
||||
import mage.abilities.dynamicvalue.common.ColorsOfManaSpentToCastCount;
|
||||
import mage.abilities.effects.common.ExileSpellEffect;
|
||||
import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
import mage.target.targetadjustment.TargetsCountAdjuster;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class UnclesMusings extends CardImpl {
|
||||
|
||||
public UnclesMusings(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{G}{G}");
|
||||
|
||||
// Converge -- Return up to X permanent cards from your graveyard to your hand, where X is the number of colors of mana spent to cast this spell.
|
||||
this.getSpellAbility().addEffect(new ReturnFromGraveyardToHandTargetEffect()
|
||||
.setText("return up to X permanent cards from your graveyard to your hand, " +
|
||||
"where X is the number of colors of mana spent to cast this spell"));
|
||||
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0, 1, StaticFilters.FILTER_CARD_PERMANENT));
|
||||
this.getSpellAbility().setTargetAdjuster(new TargetsCountAdjuster(ColorsOfManaSpentToCastCount.getInstance()));
|
||||
this.getSpellAbility().setAbilityWord(AbilityWord.CONVERGE);
|
||||
|
||||
// Exile Uncle's Musings.
|
||||
this.getSpellAbility().addEffect(new ExileSpellEffect().concatBy("<br>"));
|
||||
}
|
||||
|
||||
private UnclesMusings(final UnclesMusings card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UnclesMusings copy() {
|
||||
return new UnclesMusings(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -287,6 +287,7 @@ public final class AvatarTheLastAirbenderEternal extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Tundra Wall", 275, Rarity.COMMON, mage.cards.t.TundraWall.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Turtle-Seals", 226, Rarity.COMMON, mage.cards.t.TurtleSeals.class));
|
||||
cards.add(new SetCardInfo("Unagi's Spray", 97, Rarity.COMMON, mage.cards.u.UnagisSpray.class));
|
||||
cards.add(new SetCardInfo("Uncle's Musings", 73, Rarity.RARE, mage.cards.u.UnclesMusings.class));
|
||||
cards.add(new SetCardInfo("Valakut, the Molten Pinnacle", 61, Rarity.MYTHIC, mage.cards.v.ValakutTheMoltenPinnacle.class));
|
||||
cards.add(new SetCardInfo("Valorous Stance", 154, Rarity.UNCOMMON, mage.cards.v.ValorousStance.class));
|
||||
cards.add(new SetCardInfo("Visions of Beyond", 21, Rarity.MYTHIC, mage.cards.v.VisionsOfBeyond.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue