forked from External/mage
[40K] Implemented Mawloc
This commit is contained in:
parent
19eeadffda
commit
42d6080a7a
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/m/Mawloc.java
Normal file
47
Mage.Sets/src/mage/cards/m/Mawloc.java
Normal file
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue