diff --git a/Mage.Sets/src/mage/cards/m/Mawloc.java b/Mage.Sets/src/mage/cards/m/Mawloc.java new file mode 100644 index 00000000000..1e2fca82cc2 --- /dev/null +++ b/Mage.Sets/src/mage/cards/m/Mawloc.java @@ -0,0 +1,47 @@ +package mage.cards.m; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.ExileTargetIfDiesEffect; +import mage.abilities.effects.common.FightTargetSourceEffect; +import mage.abilities.keyword.RavenousAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetOpponentsCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class Mawloc extends CardImpl { + + public Mawloc(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{X}{R}{G}"); + + this.subtype.add(SubType.TYRANID); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + // Ravenous + this.addAbility(new RavenousAbility()); + + // Terror from the Deep -- When Mawloc enters the battlefield, it fights up to one target creature an opponent controls. If that creature would die this turn, exile it instead. + Ability ability = new EntersBattlefieldTriggeredAbility(new FightTargetSourceEffect()); + ability.addEffect(new ExileTargetIfDiesEffect()); + ability.addTarget(new TargetOpponentsCreaturePermanent(0, 1)); + this.addAbility(ability.withFlavorWord("Terror from the Deep")); + } + + private Mawloc(final Mawloc card) { + super(card); + } + + @Override + public Mawloc copy() { + return new Mawloc(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Warhammer40000.java b/Mage.Sets/src/mage/sets/Warhammer40000.java index 941770755d9..a58fe7c656a 100644 --- a/Mage.Sets/src/mage/sets/Warhammer40000.java +++ b/Mage.Sets/src/mage/sets/Warhammer40000.java @@ -139,6 +139,7 @@ public final class Warhammer40000 extends ExpansionSet { cards.add(new SetCardInfo("Lychguard", 39, Rarity.RARE, mage.cards.l.Lychguard.class)); cards.add(new SetCardInfo("Martial Coup", 189, Rarity.RARE, mage.cards.m.MartialCoup.class)); cards.add(new SetCardInfo("Mask of Memory", 243, Rarity.UNCOMMON, mage.cards.m.MaskOfMemory.class)); + cards.add(new SetCardInfo("Mawloc", 133, Rarity.RARE, mage.cards.m.Mawloc.class)); cards.add(new SetCardInfo("Memorial to Glory", 283, Rarity.UNCOMMON, mage.cards.m.MemorialToGlory.class)); cards.add(new SetCardInfo("Mind Stone", 244, Rarity.UNCOMMON, mage.cards.m.MindStone.class)); cards.add(new SetCardInfo("Molten Slagheap", 284, Rarity.UNCOMMON, mage.cards.m.MoltenSlagheap.class));