mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Implement [M3C] Inversion Behemoth (#12391)
This commit is contained in:
parent
720d6075ea
commit
ecb605a30f
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/i/InversionBehemoth.java
Normal file
43
Mage.Sets/src/mage/cards/i/InversionBehemoth.java
Normal file
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue