diff --git a/Mage.Sets/src/mage/cards/s/SecurityRhox.java b/Mage.Sets/src/mage/cards/s/SecurityRhox.java new file mode 100644 index 00000000000..4da2c0ce9bc --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SecurityRhox.java @@ -0,0 +1,47 @@ +package mage.cards.s; + +import mage.MageInt; +import mage.abilities.costs.AlternativeCostSourceAbility; +import mage.abilities.costs.mana.ManaCost; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.filter.FilterPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SecurityRhox extends CardImpl { + + private static final FilterPermanent filter = new FilterPermanent(SubType.TREASURE, ""); + + public SecurityRhox(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}{G}"); + + this.subtype.add(SubType.RHINO); + this.subtype.add(SubType.WARRIOR); + this.power = new MageInt(5); + this.toughness = new MageInt(4); + + // You may pay {R}{G} rather than pay this spell's mana cost. Spend only mana produced by Treasures to cast it this way. + ManaCost cost = new ManaCostsImpl<>("{R}{G}"); + cost.setSourceFilter(filter); + this.addAbility(new AlternativeCostSourceAbility( + cost, null, "You may pay {R}{G} rather than pay this spell's mana cost. " + + "Spend only mana produced by Treasures to cast it this way." + )); + } + + private SecurityRhox(final SecurityRhox card) { + super(card); + } + + @Override + public SecurityRhox copy() { + return new SecurityRhox(this); + } +} diff --git a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java index f846523405a..29a244fb105 100644 --- a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java +++ b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java @@ -210,6 +210,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet { cards.add(new SetCardInfo("Sanguine Spy", 93, Rarity.RARE, mage.cards.s.SanguineSpy.class)); cards.add(new SetCardInfo("Scuttling Butler", 244, Rarity.UNCOMMON, mage.cards.s.ScuttlingButler.class)); cards.add(new SetCardInfo("Security Bypass", 59, Rarity.COMMON, mage.cards.s.SecurityBypass.class)); + cards.add(new SetCardInfo("Security Rhox", 220, Rarity.UNCOMMON, mage.cards.s.SecurityRhox.class)); cards.add(new SetCardInfo("Sewer Crocodile", 60, Rarity.COMMON, mage.cards.s.SewerCrocodile.class)); cards.add(new SetCardInfo("Shadow of Mortality", 94, Rarity.RARE, mage.cards.s.ShadowOfMortality.class)); cards.add(new SetCardInfo("Shakedown Heavy", 95, Rarity.RARE, mage.cards.s.ShakedownHeavy.class));