mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[CMR] Implemented Flamekin Herald
This commit is contained in:
parent
7a6306fa06
commit
72b17dd85f
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/f/FlamekinHerald.java
Normal file
47
Mage.Sets/src/mage/cards/f/FlamekinHerald.java
Normal file
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.GainAbilitySpellsEffect;
|
||||
import mage.abilities.keyword.CascadeAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterSpell;
|
||||
import mage.filter.predicate.permanent.CommanderPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class FlamekinHerald extends CardImpl {
|
||||
|
||||
private static final FilterSpell filter = new FilterSpell("Commander spells you cast");
|
||||
|
||||
static {
|
||||
filter.add(CommanderPredicate.instance);
|
||||
}
|
||||
|
||||
public FlamekinHerald(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.subtype.add(SubType.WIZARD);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Commander spells you cast have cascade.
|
||||
this.addAbility(new SimpleStaticAbility(new GainAbilitySpellsEffect(new CascadeAbility(), filter)));
|
||||
}
|
||||
|
||||
private FlamekinHerald(final FlamekinHerald card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FlamekinHerald copy() {
|
||||
return new FlamekinHerald(this);
|
||||
}
|
||||
}
|
|
@ -111,6 +111,7 @@ public final class CommanderLegends extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Filigree Familiar", 308, Rarity.COMMON, mage.cards.f.FiligreeFamiliar.class));
|
||||
cards.add(new SetCardInfo("Fire Diamond", 309, Rarity.COMMON, mage.cards.f.FireDiamond.class));
|
||||
cards.add(new SetCardInfo("First Response", 22, Rarity.UNCOMMON, mage.cards.f.FirstResponse.class));
|
||||
cards.add(new SetCardInfo("Flamekin Herald", 179, Rarity.RARE, mage.cards.f.FlamekinHerald.class));
|
||||
cards.add(new SetCardInfo("Fleshbag Marauder", 128, Rarity.COMMON, mage.cards.f.FleshbagMarauder.class));
|
||||
cards.add(new SetCardInfo("Flood of Recollection", 61, Rarity.COMMON, mage.cards.f.FloodOfRecollection.class));
|
||||
cards.add(new SetCardInfo("Forceful Denial", 69, Rarity.COMMON, mage.cards.f.ForcefulDenial.class));
|
||||
|
|
Loading…
Reference in a new issue