mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[ZNR] Implemented Risen Riptide
This commit is contained in:
parent
8d8185cc9d
commit
e73767ecbe
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/r/RisenRiptide.java
Normal file
49
Mage.Sets/src/mage/cards/r/RisenRiptide.java
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
package mage.cards.r;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.common.SpellCastControllerTriggeredAbility;
|
||||||
|
import mage.abilities.effects.common.continuous.SetPowerToughnessSourceEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.Duration;
|
||||||
|
import mage.constants.SubLayer;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
import mage.filter.FilterSpell;
|
||||||
|
import mage.filter.predicate.mageobject.KickedPredicate;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class RisenRiptide extends CardImpl {
|
||||||
|
|
||||||
|
private static final FilterSpell filter = new FilterSpell("a kicked spell");
|
||||||
|
|
||||||
|
static {
|
||||||
|
filter.add(KickedPredicate.instance);
|
||||||
|
}
|
||||||
|
|
||||||
|
public RisenRiptide(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}");
|
||||||
|
|
||||||
|
this.subtype.add(SubType.ELEMENTAL);
|
||||||
|
this.power = new MageInt(0);
|
||||||
|
this.toughness = new MageInt(5);
|
||||||
|
|
||||||
|
// Whenever you cast a kicked spell, Risen Riptide has base power and toughness 5/5 until end of turn.
|
||||||
|
this.addAbility(new SpellCastControllerTriggeredAbility(new SetPowerToughnessSourceEffect(
|
||||||
|
5, 5, Duration.EndOfTurn, SubLayer.SetPT_7b
|
||||||
|
).setText("{this} has base power and toughness 5/5 until end of turn"), filter, false));
|
||||||
|
}
|
||||||
|
|
||||||
|
private RisenRiptide(final RisenRiptide card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RisenRiptide copy() {
|
||||||
|
return new RisenRiptide(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -169,6 +169,7 @@ public final class ZendikarRising extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Prowling Felidar", 34, Rarity.COMMON, mage.cards.p.ProwlingFelidar.class));
|
cards.add(new SetCardInfo("Prowling Felidar", 34, Rarity.COMMON, mage.cards.p.ProwlingFelidar.class));
|
||||||
cards.add(new SetCardInfo("Rabid Bite", 199, Rarity.COMMON, mage.cards.r.RabidBite.class));
|
cards.add(new SetCardInfo("Rabid Bite", 199, Rarity.COMMON, mage.cards.r.RabidBite.class));
|
||||||
cards.add(new SetCardInfo("Ravager's Mace", 235, Rarity.UNCOMMON, mage.cards.r.RavagersMace.class));
|
cards.add(new SetCardInfo("Ravager's Mace", 235, Rarity.UNCOMMON, mage.cards.r.RavagersMace.class));
|
||||||
|
cards.add(new SetCardInfo("Risen Riptide", 73, Rarity.COMMON, mage.cards.r.RisenRiptide.class));
|
||||||
cards.add(new SetCardInfo("Riverglide Pathway", 264, Rarity.RARE, mage.cards.r.RiverglidePathway.class));
|
cards.add(new SetCardInfo("Riverglide Pathway", 264, Rarity.RARE, mage.cards.r.RiverglidePathway.class));
|
||||||
cards.add(new SetCardInfo("Rockslide Sorcerer", 154, Rarity.UNCOMMON, mage.cards.r.RockslideSorcerer.class));
|
cards.add(new SetCardInfo("Rockslide Sorcerer", 154, Rarity.UNCOMMON, mage.cards.r.RockslideSorcerer.class));
|
||||||
cards.add(new SetCardInfo("Roil Eruption", 155, Rarity.COMMON, mage.cards.r.RoilEruption.class));
|
cards.add(new SetCardInfo("Roil Eruption", 155, Rarity.COMMON, mage.cards.r.RoilEruption.class));
|
||||||
|
|
Loading…
Reference in a new issue