mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
[KHM] Implemented Starnheim Aspirant
This commit is contained in:
parent
685182d0de
commit
d3f30e43aa
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/s/StarnheimAspirant.java
Normal file
45
Mage.Sets/src/mage/cards/s/StarnheimAspirant.java
Normal file
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.cost.SpellsCostReductionControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterCard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class StarnheimAspirant extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCard("Angel spells");
|
||||
|
||||
static {
|
||||
filter.add(SubType.ANGEL.getPredicate());
|
||||
}
|
||||
|
||||
public StarnheimAspirant(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.CLERIC);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Angel spells you cast cost {2} less to cast.
|
||||
this.addAbility(new SimpleStaticAbility(new SpellsCostReductionControllerEffect(filter, 2)));
|
||||
}
|
||||
|
||||
private StarnheimAspirant(final StarnheimAspirant card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StarnheimAspirant copy() {
|
||||
return new StarnheimAspirant(this);
|
||||
}
|
||||
}
|
|
@ -43,5 +43,6 @@ public final class Kaldheim extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Hengegate Pathway", 260, Rarity.RARE, mage.cards.h.HengegatePathway.class));
|
||||
cards.add(new SetCardInfo("Renegade Reaper", 386, Rarity.UNCOMMON, mage.cards.r.RenegadeReaper.class));
|
||||
cards.add(new SetCardInfo("Showdown of the Skalds", 229, Rarity.RARE, mage.cards.s.ShowdownOfTheSkalds.class));
|
||||
cards.add(new SetCardInfo("Starnheim Aspirant", 380, Rarity.UNCOMMON, mage.cards.s.StarnheimAspirant.class));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue