diff --git a/Mage.Sets/src/mage/cards/t/TempleThief.java b/Mage.Sets/src/mage/cards/t/TempleThief.java new file mode 100644 index 0000000000..9bac89047f --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/TempleThief.java @@ -0,0 +1,50 @@ +package mage.cards.t; + +import mage.MageInt; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.effects.common.combat.CantBeBlockedByCreaturesSourceEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; +import mage.filter.common.FilterCreaturePermanent; +import mage.filter.predicate.mageobject.EnchantmentOrEnchantedPredicate; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class TempleThief extends CardImpl { + + private static final FilterCreaturePermanent filter + = new FilterCreaturePermanent("enchanted creatures or enchantment creatures"); + + static { + filter.add(EnchantmentOrEnchantedPredicate.instance); + } + + public TempleThief(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.ROGUE); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + // Temple Thief can't be blocked by enchanted creatures or enchantment creatures. + this.addAbility(new SimpleStaticAbility( + new CantBeBlockedByCreaturesSourceEffect(filter, Duration.WhileOnBattlefield) + )); + } + + private TempleThief(final TempleThief card) { + super(card); + } + + @Override + public TempleThief copy() { + return new TempleThief(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java index ccda139341..adf20539e2 100644 --- a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java +++ b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java @@ -213,6 +213,7 @@ public final class TherosBeyondDeath extends ExpansionSet { cards.add(new SetCardInfo("Swimmer in Nightmares", 275, Rarity.UNCOMMON, mage.cards.s.SwimmerInNightmares.class)); cards.add(new SetCardInfo("Taranika, Akroan Veteran", 39, Rarity.RARE, mage.cards.t.TaranikaAkroanVeteran.class)); cards.add(new SetCardInfo("Tectonic Giant", 158, Rarity.RARE, mage.cards.t.TectonicGiant.class)); + cards.add(new SetCardInfo("Temple Thief", 116, Rarity.COMMON, mage.cards.t.TempleThief.class)); cards.add(new SetCardInfo("Temple of Abandon", 244, Rarity.RARE, mage.cards.t.TempleOfAbandon.class)); cards.add(new SetCardInfo("Temple of Deceit", 245, Rarity.RARE, mage.cards.t.TempleOfDeceit.class)); cards.add(new SetCardInfo("Temple of Enlightenment", 246, Rarity.RARE, mage.cards.t.TempleOfEnlightenment.class));