mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
[ECL] Implement Burning Curiosity
This commit is contained in:
parent
4278e52aaa
commit
e3feab7f87
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/b/BurningCuriosity.java
Normal file
43
Mage.Sets/src/mage/cards/b/BurningCuriosity.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.abilities.condition.common.BlightedCondition;
|
||||
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||
import mage.abilities.effects.common.ExileTopXMayPlayUntilEffect;
|
||||
import mage.abilities.keyword.BlightAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BurningCuriosity extends CardImpl {
|
||||
|
||||
public BurningCuriosity(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{R}");
|
||||
|
||||
// As an additional cost to cast this spell, you may blight 1.
|
||||
this.addAbility(new BlightAbility(1));
|
||||
|
||||
// Exile the top two cards of your library. If this spell's additional cost was paid, exile the top three cards instead. Until the end of your next turn, you may play those cards.
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new ExileTopXMayPlayUntilEffect(3, Duration.UntilEndOfYourNextTurn),
|
||||
new ExileTopXMayPlayUntilEffect(2, Duration.UntilEndOfYourNextTurn),
|
||||
BlightedCondition.instance, "exile the top two cards of your library. " +
|
||||
"If this spell's additional cost was paid, exile the top three cards instead. " +
|
||||
"Until the end of your next turn, you may play those cards"
|
||||
));
|
||||
}
|
||||
|
||||
private BurningCuriosity(final BurningCuriosity card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BurningCuriosity copy() {
|
||||
return new BurningCuriosity(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -51,6 +51,7 @@ public final class LorwynEclipsed extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Bristlebane Battler", 168, Rarity.RARE, mage.cards.b.BristlebaneBattler.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Bristlebane Battler", 325, Rarity.RARE, mage.cards.b.BristlebaneBattler.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Burdened Stoneback", 8, Rarity.UNCOMMON, mage.cards.b.BurdenedStoneback.class));
|
||||
cards.add(new SetCardInfo("Burning Curiosity", 129, Rarity.COMMON, mage.cards.b.BurningCuriosity.class));
|
||||
cards.add(new SetCardInfo("Champion of the Clachan", 353, Rarity.RARE, mage.cards.c.ChampionOfTheClachan.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Champion of the Clachan", 9, Rarity.RARE, mage.cards.c.ChampionOfTheClachan.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Champion of the Weird", 360, Rarity.RARE, mage.cards.c.ChampionOfTheWeird.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue