mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[MH2] Implemented Kitchen Imp
This commit is contained in:
parent
d998e4e8be
commit
224b22c977
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/k/KitchenImp.java
Normal file
45
Mage.Sets/src/mage/cards/k/KitchenImp.java
Normal file
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.k;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.abilities.keyword.MadnessAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class KitchenImp extends CardImpl {
|
||||
|
||||
public KitchenImp(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}");
|
||||
|
||||
this.subtype.add(SubType.IMP);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Haste
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
|
||||
// Madness {B}
|
||||
this.addAbility(new MadnessAbility(this, new ManaCostsImpl<>("{B}")));
|
||||
}
|
||||
|
||||
private KitchenImp(final KitchenImp card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KitchenImp copy() {
|
||||
return new KitchenImp(this);
|
||||
}
|
||||
}
|
|
@ -41,6 +41,7 @@ public final class ModernHorizons2 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Fractured Sanity", 44, Rarity.RARE, mage.cards.f.FracturedSanity.class));
|
||||
cards.add(new SetCardInfo("Grief", 87, Rarity.MYTHIC, mage.cards.g.Grief.class));
|
||||
cards.add(new SetCardInfo("Island", 483, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Kitchen Imp", 89, Rarity.COMMON, mage.cards.k.KitchenImp.class));
|
||||
cards.add(new SetCardInfo("Late to Dinner", 19, Rarity.COMMON, mage.cards.l.LateToDinner.class));
|
||||
cards.add(new SetCardInfo("Lucid Dreams", 50, Rarity.UNCOMMON, mage.cards.l.LucidDreams.class));
|
||||
cards.add(new SetCardInfo("Marsh Flats", 248, Rarity.RARE, mage.cards.m.MarshFlats.class));
|
||||
|
|
Loading…
Reference in a new issue