diff --git a/Mage.Sets/src/mage/cards/e/EnduringSliver.java b/Mage.Sets/src/mage/cards/e/EnduringSliver.java new file mode 100644 index 0000000000..b3085255b6 --- /dev/null +++ b/Mage.Sets/src/mage/cards/e/EnduringSliver.java @@ -0,0 +1,47 @@ +package mage.cards.e; + +import mage.MageInt; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.continuous.GainAbilityControlledEffect; +import mage.abilities.keyword.OutlastAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; +import mage.filter.StaticFilters; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class EnduringSliver extends CardImpl { + + public EnduringSliver(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}"); + + this.subtype.add(SubType.SLIVER); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + // Outlast {2} + this.addAbility(new OutlastAbility(new ManaCostsImpl("{2}"))); + + // Other sliver creatures you control have outlast {2}. + this.addAbility(new SimpleStaticAbility(new GainAbilityControlledEffect( + new OutlastAbility(new ManaCostsImpl("{2}")), Duration.WhileOnBattlefield, + StaticFilters.FILTER_PERMANENT_CREATURE_SLIVERS, true + ).setText("Other sliver creatures you control have outlast {2}."))); + } + + private EnduringSliver(final EnduringSliver card) { + super(card); + } + + @Override + public EnduringSliver copy() { + return new EnduringSliver(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons.java b/Mage.Sets/src/mage/sets/ModernHorizons.java index 58d55d1200..bb42909959 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons.java @@ -50,6 +50,7 @@ public final class ModernHorizons extends ExpansionSet { cards.add(new SetCardInfo("Dregscape Sliver", 88, Rarity.UNCOMMON, mage.cards.d.DregscapeSliver.class)); cards.add(new SetCardInfo("Eladamri's Call", 197, Rarity.RARE, mage.cards.e.EladamrisCall.class)); cards.add(new SetCardInfo("Elvish Fury", 162, Rarity.COMMON, mage.cards.e.ElvishFury.class)); + cards.add(new SetCardInfo("Enduring Sliver", 8, Rarity.COMMON, mage.cards.e.EnduringSliver.class)); cards.add(new SetCardInfo("Etchings of the Chosen", 198, Rarity.UNCOMMON, mage.cards.e.EtchingsOfTheChosen.class)); cards.add(new SetCardInfo("Exclude", 48, Rarity.UNCOMMON, mage.cards.e.Exclude.class)); cards.add(new SetCardInfo("Fact or Fiction", 50, Rarity.UNCOMMON, mage.cards.f.FactOrFiction.class));