Implemented Mob

This commit is contained in:
Evan Kranzler 2019-05-31 20:13:11 -04:00
parent 1b5358cced
commit c346f34d1b
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,36 @@
package mage.cards.m;
import mage.abilities.effects.common.DestroyTargetEffect;
import mage.abilities.keyword.ConvokeAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class Mob extends CardImpl {
public Mob(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{B}");
// Convoke
this.addAbility(new ConvokeAbility());
// Destroy target creature.
this.getSpellAbility().addEffect(new DestroyTargetEffect());
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}
private Mob(final Mob card) {
super(card);
}
@Override
public Mob copy() {
return new Mob(this);
}
}

View file

@ -131,6 +131,7 @@ public final class ModernHorizons extends ExpansionSet {
cards.add(new SetCardInfo("Mind Rake", 96, Rarity.COMMON, mage.cards.m.MindRake.class));
cards.add(new SetCardInfo("Mirrodin Besieged", 57, Rarity.RARE, mage.cards.m.MirrodinBesieged.class));
cards.add(new SetCardInfo("Mist-Syndicate Naga", 58, Rarity.RARE, mage.cards.m.MistSyndicateNaga.class));
cards.add(new SetCardInfo("Mob", 97, Rarity.COMMON, mage.cards.m.Mob.class));
cards.add(new SetCardInfo("Moonblade Shinobi", 59, Rarity.COMMON, mage.cards.m.MoonbladeShinobi.class));
cards.add(new SetCardInfo("Morophon, the Boundless", 1, Rarity.MYTHIC, mage.cards.m.MorophonTheBoundless.class));
cards.add(new SetCardInfo("Mother Bear", 171, Rarity.COMMON, mage.cards.m.MotherBear.class));