mirror of
https://github.com/correl/mage.git
synced 2025-04-14 09:09:38 -09:00
[NEO] Implemented Akki Ember-Keeper
This commit is contained in:
parent
8325bef4c1
commit
2af622ea02
2 changed files with 54 additions and 0 deletions
Mage.Sets/src/mage
53
Mage.Sets/src/mage/cards/a/AkkiEmberKeeper.java
Normal file
53
Mage.Sets/src/mage/cards/a/AkkiEmberKeeper.java
Normal file
|
@ -0,0 +1,53 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesCreatureTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.predicate.permanent.ModifiedPredicate;
|
||||
import mage.filter.predicate.permanent.TokenPredicate;
|
||||
import mage.game.permanent.token.SpiritToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AkkiEmberKeeper extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterControlledCreaturePermanent("a nontoken modified creature you control");
|
||||
|
||||
static {
|
||||
filter.add(TokenPredicate.FALSE);
|
||||
filter.add(ModifiedPredicate.instance);
|
||||
}
|
||||
|
||||
public AkkiEmberKeeper(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT, CardType.CREATURE}, "{1}{R}");
|
||||
|
||||
this.subtype.add(SubType.GOBLIN);
|
||||
this.subtype.add(SubType.WARRIOR);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Whenever a nontoken modified creature you control dies, create a 1/1 colorless Spirit creature token.
|
||||
this.addAbility(new DiesCreatureTriggeredAbility(
|
||||
new CreateTokenEffect(new SpiritToken()), false, filter
|
||||
));
|
||||
}
|
||||
|
||||
private AkkiEmberKeeper(final AkkiEmberKeeper card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AkkiEmberKeeper copy() {
|
||||
return new AkkiEmberKeeper(this);
|
||||
}
|
||||
}
|
|
@ -26,6 +26,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet {
|
|||
this.hasBasicLands = true;
|
||||
this.numBoosterDoubleFaced = 1; // temporary test fix
|
||||
|
||||
cards.add(new SetCardInfo("Akki Ember-Keeper", 130, Rarity.COMMON, mage.cards.a.AkkiEmberKeeper.class));
|
||||
cards.add(new SetCardInfo("Akki War Paint", 132, Rarity.COMMON, mage.cards.a.AkkiWarPaint.class));
|
||||
cards.add(new SetCardInfo("Ancestral Katana", 1, Rarity.COMMON, mage.cards.a.AncestralKatana.class));
|
||||
cards.add(new SetCardInfo("Armguard Familiar", 46, Rarity.COMMON, mage.cards.a.ArmguardFamiliar.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue