mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
[STX] Implemented Serpentine Curve
This commit is contained in:
parent
74ee382734
commit
274cd4249c
5 changed files with 75 additions and 8 deletions
|
@ -1,20 +1,26 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.dynamicvalue.common.InstantSorceryExileGraveyardCount;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.abilities.hint.ValueHint;
|
||||
import mage.abilities.keyword.JumpStartAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BeaconBolt extends CardImpl {
|
||||
|
||||
private static final Hint hint = new ValueHint(
|
||||
"Instant and sorcery cards in your exile and graveyard", InstantSorceryExileGraveyardCount.instance
|
||||
);
|
||||
|
||||
public BeaconBolt(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{U}{R}");
|
||||
|
||||
|
@ -25,6 +31,7 @@ public final class BeaconBolt extends CardImpl {
|
|||
+ "the total number of instant and sorcery cards "
|
||||
+ "you own in exile and in your graveyard"));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
this.getSpellAbility().addHint(hint);
|
||||
|
||||
// Jump-start
|
||||
this.addAbility(new JumpStartAbility(this));
|
||||
|
|
|
@ -6,6 +6,8 @@ import mage.abilities.common.SimpleStaticAbility;
|
|||
import mage.abilities.dynamicvalue.common.InstantSorceryExileGraveyardCount;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.SetPowerSourceEffect;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.abilities.hint.ValueHint;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
|
@ -21,6 +23,10 @@ import java.util.UUID;
|
|||
*/
|
||||
public final class CracklingDrake extends CardImpl {
|
||||
|
||||
private static final Hint hint = new ValueHint(
|
||||
"Instant and sorcery cards in your exile and graveyard", InstantSorceryExileGraveyardCount.instance
|
||||
);
|
||||
|
||||
public CracklingDrake(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U}{U}{R}{R}");
|
||||
|
||||
|
@ -39,7 +45,7 @@ public final class CracklingDrake extends CardImpl {
|
|||
).setText("{this}'s power is equal to the total number "
|
||||
+ "of instant and sorcery cards you own "
|
||||
+ "in exile and in your graveyard.")
|
||||
));
|
||||
).addHint(hint));
|
||||
|
||||
// When Crackling Drake enters the battlefield, draw a card.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.LoyaltyAbility;
|
||||
import mage.abilities.common.PlaneswalkerEntersWithLoyaltyCountersAbility;
|
||||
|
@ -9,22 +8,29 @@ import mage.abilities.dynamicvalue.common.StaticValue;
|
|||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.GetEmblemEffect;
|
||||
import mage.abilities.effects.common.LookLibraryAndPickControllerEffect;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.abilities.hint.ValueHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.command.emblems.RalIzzetViceroyEmblem;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RalIzzetViceroy extends CardImpl {
|
||||
|
||||
private static final Hint hint = new ValueHint(
|
||||
"Instant and sorcery cards in your exile and graveyard", InstantSorceryExileGraveyardCount.instance
|
||||
);
|
||||
|
||||
public RalIzzetViceroy(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.PLANESWALKER}, "{3}{U}{R}");
|
||||
|
||||
|
@ -47,7 +53,7 @@ public final class RalIzzetViceroy extends CardImpl {
|
|||
+ "the total number of instant and sorcery cards "
|
||||
+ "you own in exile and in your graveyard"), -3);
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
this.addAbility(ability.addHint(hint));
|
||||
|
||||
// -8: You get an emblem with "Whenever you cast an instant or sorcery spell, this emblem deals 4 damage to any target and you draw two cards."
|
||||
this.addAbility(new LoyaltyAbility(
|
||||
|
|
47
Mage.Sets/src/mage/cards/s/SerpentineCurve.java
Normal file
47
Mage.Sets/src/mage/cards/s/SerpentineCurve.java
Normal file
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.dynamicvalue.AdditiveDynamicValue;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.InstantSorceryExileGraveyardCount;
|
||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.abilities.hint.ValueHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.QuandrixToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SerpentineCurve extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue = new AdditiveDynamicValue(
|
||||
InstantSorceryExileGraveyardCount.instance, StaticValue.get(1)
|
||||
);
|
||||
private static final Hint hint = new ValueHint(
|
||||
"Instant and sorcery cards in your exile and graveyard", InstantSorceryExileGraveyardCount.instance
|
||||
);
|
||||
|
||||
public SerpentineCurve(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{U}");
|
||||
|
||||
// Create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it, where X is one plus the total number of instant and sorcery cards you own in exile and in your graveyard.
|
||||
this.getSpellAbility().addEffect(QuandrixToken.getEffect(
|
||||
xValue, "Put X +1/+1 counters on it, where X is one plus the total number " +
|
||||
"of instant and sorcery cards you own in exile and in your graveyard"
|
||||
));
|
||||
this.getSpellAbility().addHint(hint);
|
||||
}
|
||||
|
||||
private SerpentineCurve(final SerpentineCurve card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SerpentineCurve copy() {
|
||||
return new SerpentineCurve(this);
|
||||
}
|
||||
}
|
|
@ -114,6 +114,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Rise of Extus", 226, Rarity.COMMON, mage.cards.r.RiseOfExtus.class));
|
||||
cards.add(new SetCardInfo("Rootha, Mercurial Artist", 227, Rarity.UNCOMMON, mage.cards.r.RoothaMercurialArtist.class));
|
||||
cards.add(new SetCardInfo("Secret Rendezvous", 26, Rarity.UNCOMMON, mage.cards.s.SecretRendezvous.class));
|
||||
cards.add(new SetCardInfo("Serpentine Curve", 52, Rarity.COMMON, mage.cards.s.SerpentineCurve.class));
|
||||
cards.add(new SetCardInfo("Shineshadow Snarl", 272, Rarity.RARE, mage.cards.s.ShineshadowSnarl.class));
|
||||
cards.add(new SetCardInfo("Silverquill Apprentice", 231, Rarity.UNCOMMON, mage.cards.s.SilverquillApprentice.class));
|
||||
cards.add(new SetCardInfo("Silverquill Command", 232, Rarity.RARE, mage.cards.s.SilverquillCommand.class));
|
||||
|
|
Loading…
Reference in a new issue