1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-09 01:01:06 -09:00

Implemented The First Sliver

This commit is contained in:
Evan Kranzler 2019-05-22 12:54:58 -04:00
parent 7802a22b03
commit aa18636d26
2 changed files with 52 additions and 0 deletions
Mage.Sets/src/mage

View file

@ -0,0 +1,51 @@
package mage.cards.t;
import mage.MageInt;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.continuous.GainAbilityControlledSpellsEffect;
import mage.abilities.keyword.CascadeAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.filter.FilterSpell;
import mage.filter.predicate.mageobject.SubtypePredicate;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class TheFirstSliver extends CardImpl {
private static final FilterSpell filter = new FilterSpell("Sliver spells you cast");
static {
filter.add(new SubtypePredicate(SubType.SLIVER));
}
public TheFirstSliver(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W}{U}{B}{R}{G}");
this.addSuperType(SuperType.LEGENDARY);
this.subtype.add(SubType.SLIVER);
this.power = new MageInt(7);
this.toughness = new MageInt(7);
// Cascade
this.addAbility(new CascadeAbility());
// Sliver spells you cast have cascade.
this.addAbility(new SimpleStaticAbility(new GainAbilityControlledSpellsEffect(new CascadeAbility(), filter)));
}
private TheFirstSliver(final TheFirstSliver card) {
super(card);
}
@Override
public TheFirstSliver copy() {
return new TheFirstSliver(this);
}
}

View file

@ -70,6 +70,7 @@ public final class ModernHorizons extends ExpansionSet {
cards.add(new SetCardInfo("Spore Frog", 180, Rarity.COMMON, mage.cards.s.SporeFrog.class));
cards.add(new SetCardInfo("Stream of Thought", 71, Rarity.COMMON, mage.cards.s.StreamOfThought.class));
cards.add(new SetCardInfo("Sunbaked Canyon", 247, Rarity.RARE, mage.cards.s.SunbakedCanyon.class));
cards.add(new SetCardInfo("The First Sliver", 200, Rarity.MYTHIC, mage.cards.t.TheFirstSliver.class));
cards.add(new SetCardInfo("Undead Augur", 112, Rarity.UNCOMMON, mage.cards.u.UndeadAugur.class));
cards.add(new SetCardInfo("Urza, Lord High Artificer", 75, Rarity.MYTHIC, mage.cards.u.UrzaLordHighArtificer.class));
cards.add(new SetCardInfo("Venomous Changeling", 114, Rarity.COMMON, mage.cards.v.VenomousChangeling.class));