mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
[CLB] Implemented Renari, Merchant of Marvels
This commit is contained in:
parent
59ce5b4f8b
commit
fef1281314
2 changed files with 59 additions and 0 deletions
58
Mage.Sets/src/mage/cards/r/RenariMerchantOfMarvels.java
Normal file
58
Mage.Sets/src/mage/cards/r/RenariMerchantOfMarvels.java
Normal file
|
@ -0,0 +1,58 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.ChooseABackgroundAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continuous.CastAsThoughItHadFlashAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.predicate.Predicates;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RenariMerchantOfMarvels extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCard("Dragon spells and artifact spells");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.or(
|
||||
SubType.DRAGON.getPredicate(),
|
||||
CardType.ARTIFACT.getPredicate()
|
||||
));
|
||||
}
|
||||
|
||||
public RenariMerchantOfMarvels(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.DRAGON);
|
||||
this.subtype.add(SubType.ARTIFICER);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// You may cast Dragon spells and artifact spells as though they had flash.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
new CastAsThoughItHadFlashAllEffect(Duration.WhileOnBattlefield, filter)
|
||||
));
|
||||
|
||||
// Choose a Background
|
||||
this.addAbility(ChooseABackgroundAbility.getInstance());
|
||||
}
|
||||
|
||||
private RenariMerchantOfMarvels(final RenariMerchantOfMarvels card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RenariMerchantOfMarvels copy() {
|
||||
return new RenariMerchantOfMarvels(this);
|
||||
}
|
||||
}
|
|
@ -93,6 +93,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Raised by Giants", 250, Rarity.RARE, mage.cards.r.RaisedByGiants.class));
|
||||
cards.add(new SetCardInfo("Raphael, Fiendish Savior", 292, Rarity.RARE, mage.cards.r.RaphaelFiendishSavior.class));
|
||||
cards.add(new SetCardInfo("Reflecting Pool", 358, Rarity.RARE, mage.cards.r.ReflectingPool.class));
|
||||
cards.add(new SetCardInfo("Renari, Merchant of Marvels", 90, Rarity.UNCOMMON, mage.cards.r.RenariMerchantOfMarvels.class));
|
||||
cards.add(new SetCardInfo("Roving Harper", 40, Rarity.COMMON, mage.cards.r.RovingHarper.class));
|
||||
cards.add(new SetCardInfo("Sarevok, Deathbringer", 144, Rarity.UNCOMMON, mage.cards.s.SarevokDeathbringer.class));
|
||||
cards.add(new SetCardInfo("Sea Hag", 95, Rarity.COMMON, mage.cards.s.SeaHag.class));
|
||||
|
|
Loading…
Reference in a new issue