diff --git a/Mage.Sets/src/mage/cards/i/InversionBehemoth.java b/Mage.Sets/src/mage/cards/i/InversionBehemoth.java new file mode 100644 index 00000000000..bb8a7b4a24b --- /dev/null +++ b/Mage.Sets/src/mage/cards/i/InversionBehemoth.java @@ -0,0 +1,43 @@ +package mage.cards.i; + +import java.util.UUID; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.BeginningOfCombatTriggeredAbility; +import mage.abilities.effects.common.continuous.SwitchPowerToughnessTargetEffect; +import mage.constants.Duration; +import mage.constants.SubType; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.TargetController; +import mage.target.common.TargetCreaturePermanent; + +/** + * @author grimreap124 + */ +public final class InversionBehemoth extends CardImpl { + + public InversionBehemoth(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{C}{C}"); + + this.subtype.add(SubType.ELDRAZI); + this.power = new MageInt(2); + this.toughness = new MageInt(9); + + // At the beginning of combat on your turn, switch the power and toughness of each of any number of target creatures until end of turn. + Ability ability = new BeginningOfCombatTriggeredAbility(new SwitchPowerToughnessTargetEffect(Duration.EndOfTurn).setText("switch the power and toughness of each of any number of target creatures until end of turn."), TargetController.YOU, false); + ability.addTarget(new TargetCreaturePermanent(0, Integer.MAX_VALUE)); + this.addAbility(ability); + } + + private InversionBehemoth(final InversionBehemoth card) { + super(card); + } + + @Override + public InversionBehemoth copy() { + return new InversionBehemoth(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons3Commander.java b/Mage.Sets/src/mage/sets/ModernHorizons3Commander.java index 05eef45af75..aeb1a7b6653 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons3Commander.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons3Commander.java @@ -153,6 +153,7 @@ public final class ModernHorizons3Commander extends ExpansionSet { cards.add(new SetCardInfo("Idol of Oblivion", 297, Rarity.UNCOMMON, mage.cards.i.IdolOfOblivion.class)); cards.add(new SetCardInfo("Ignoble Hierarch", 234, Rarity.RARE, mage.cards.i.IgnobleHierarch.class)); cards.add(new SetCardInfo("Imprisoned in the Moon", 188, Rarity.RARE, mage.cards.i.ImprisonedInTheMoon.class)); + cards.add(new SetCardInfo("Inversion Behemoth", 34, Rarity.RARE, mage.cards.i.InversionBehemoth.class)); cards.add(new SetCardInfo("Izoni, Thousand-Eyed", 267, Rarity.RARE, mage.cards.i.IzoniThousandEyed.class)); cards.add(new SetCardInfo("Izzet Boilerworks", 350, Rarity.UNCOMMON, mage.cards.i.IzzetBoilerworks.class)); cards.add(new SetCardInfo("Junji, the Midnight Sky", 199, Rarity.MYTHIC, mage.cards.j.JunjiTheMidnightSky.class));