forked from External/mage
[MH3] Implement Mogg Mob
This commit is contained in:
parent
414b257ab9
commit
04cb260c8f
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/m/MoggMob.java
Normal file
44
Mage.Sets/src/mage/cards/m/MoggMob.java
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.SacrificeSourceCost;
|
||||
import mage.abilities.effects.common.DamageMultiEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetAnyTargetAmount;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MoggMob extends CardImpl {
|
||||
|
||||
public MoggMob(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{R}{R}{R}");
|
||||
|
||||
this.subtype.add(SubType.GOBLIN);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Sacrifice Mogg Mob: It deals 3 damage divided as you choose among one, two, or three targets.
|
||||
Ability ability = new SimpleActivatedAbility(
|
||||
new DamageMultiEffect(3, "it"), new SacrificeSourceCost()
|
||||
);
|
||||
ability.addTarget(new TargetAnyTargetAmount(3));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private MoggMob(final MoggMob card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MoggMob copy() {
|
||||
return new MoggMob(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -50,6 +50,7 @@ public final class ModernHorizons3 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Kudo, King Among Bears", 192, Rarity.RARE, mage.cards.k.KudoKingAmongBears.class));
|
||||
cards.add(new SetCardInfo("Laelia, the Blade Reforged", 281, Rarity.RARE, mage.cards.l.LaeliaTheBladeReforged.class));
|
||||
cards.add(new SetCardInfo("Meltdown", 282, Rarity.UNCOMMON, mage.cards.m.Meltdown.class));
|
||||
cards.add(new SetCardInfo("Mogg Mob", 127, Rarity.UNCOMMON, mage.cards.m.MoggMob.class));
|
||||
cards.add(new SetCardInfo("Mountain", 307, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Nethergoyf", 103, Rarity.MYTHIC, mage.cards.n.Nethergoyf.class));
|
||||
cards.add(new SetCardInfo("Null Elemental Blast", 12, Rarity.UNCOMMON, mage.cards.n.NullElementalBlast.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue