diff --git a/Mage.Sets/src/mage/cards/b/BlightBreathCatoblepas.java b/Mage.Sets/src/mage/cards/b/BlightBreathCatoblepas.java new file mode 100644 index 0000000000..38a70b9853 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BlightBreathCatoblepas.java @@ -0,0 +1,50 @@ +package mage.cards.b; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.dynamicvalue.DynamicValue; +import mage.abilities.dynamicvalue.common.DevotionCount; +import mage.abilities.dynamicvalue.common.SignInversionDynamicValue; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; +import mage.target.common.TargetOpponentsCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BlightBreathCatoblepas extends CardImpl { + + private static final DynamicValue xValue = new SignInversionDynamicValue(DevotionCount.B); + + public BlightBreathCatoblepas(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}{B}"); + + this.subtype.add(SubType.BEAST); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // When Blight-Breath Catoblepas enters the battlefield, target creature an opponent controls gets -X/-X until end of turn, where X is your devotion to black. + Ability ability = new EntersBattlefieldTriggeredAbility(new BoostTargetEffect( + xValue, xValue, Duration.EndOfTurn + ).setText("target creature an opponent controls gets -X/-X until end of turn, where X is your devotion to black")); + ability.addTarget(new TargetOpponentsCreaturePermanent()); + ability.addHint(DevotionCount.B.getHint()); + this.addAbility(ability); + } + + private BlightBreathCatoblepas(final BlightBreathCatoblepas card) { + super(card); + } + + @Override + public BlightBreathCatoblepas copy() { + return new BlightBreathCatoblepas(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java index 4f150b73ce..6e0fb87c29 100644 --- a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java +++ b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java @@ -43,6 +43,7 @@ public final class TherosBeyondDeath extends ExpansionSet { cards.add(new SetCardInfo("Athreos, Shroud-Veiled", 269, Rarity.MYTHIC, mage.cards.a.AthreosShroudVeiled.class)); cards.add(new SetCardInfo("Atris, Oracle of Half-Truths", 209, Rarity.RARE, mage.cards.a.AtrisOracleOfHalfTruths.class)); cards.add(new SetCardInfo("Banishing Light", 4, Rarity.UNCOMMON, mage.cards.b.BanishingLight.class)); + cards.add(new SetCardInfo("Blight-Breath Catoblepas", 86, Rarity.COMMON, mage.cards.b.BlightBreathCatoblepas.class)); cards.add(new SetCardInfo("Blood Aspirant", 128, Rarity.UNCOMMON, mage.cards.b.BloodAspirant.class)); cards.add(new SetCardInfo("Brine Giant", 44, Rarity.COMMON, mage.cards.b.BrineGiant.class)); cards.add(new SetCardInfo("Bronze Sword", 232, Rarity.COMMON, mage.cards.b.BronzeSword.class));