mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 02:52:02 -08:00
[OTC] Implement Elemental Eruption
This commit is contained in:
parent
406ced04bf
commit
e4cd084b1b
3 changed files with 69 additions and 0 deletions
35
Mage.Sets/src/mage/cards/e/ElementalEruption.java
Normal file
35
Mage.Sets/src/mage/cards/e/ElementalEruption.java
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
package mage.cards.e;
|
||||||
|
|
||||||
|
import mage.abilities.effects.common.CreateTokenEffect;
|
||||||
|
import mage.abilities.keyword.StormAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.game.permanent.token.DragonElementalToken;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class ElementalEruption extends CardImpl {
|
||||||
|
|
||||||
|
public ElementalEruption(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{R}{R}");
|
||||||
|
|
||||||
|
// Create a 4/4 red Dragon Elemental creature token with flying and prowess.
|
||||||
|
this.getSpellAbility().addEffect(new CreateTokenEffect(new DragonElementalToken()));
|
||||||
|
|
||||||
|
// Storm
|
||||||
|
this.addAbility(new StormAbility());
|
||||||
|
}
|
||||||
|
|
||||||
|
private ElementalEruption(final ElementalEruption card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ElementalEruption copy() {
|
||||||
|
return new ElementalEruption(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -22,6 +22,7 @@ public final class OutlawsOfThunderJunctionCommander extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Angel of Indemnity", 45, Rarity.RARE, mage.cards.a.AngelOfIndemnity.class));
|
cards.add(new SetCardInfo("Angel of Indemnity", 45, Rarity.RARE, mage.cards.a.AngelOfIndemnity.class));
|
||||||
cards.add(new SetCardInfo("Angelic Sell-Sword", 10, Rarity.RARE, mage.cards.a.AngelicSellSword.class));
|
cards.add(new SetCardInfo("Angelic Sell-Sword", 10, Rarity.RARE, mage.cards.a.AngelicSellSword.class));
|
||||||
cards.add(new SetCardInfo("Charred Graverobber", 19, Rarity.RARE, mage.cards.c.CharredGraverobber.class));
|
cards.add(new SetCardInfo("Charred Graverobber", 19, Rarity.RARE, mage.cards.c.CharredGraverobber.class));
|
||||||
|
cards.add(new SetCardInfo("Elemental Eruption", 27, Rarity.RARE, mage.cards.e.ElementalEruption.class));
|
||||||
cards.add(new SetCardInfo("Stella Lee, Wild Card", 3, Rarity.MYTHIC, mage.cards.s.StellaLeeWildCard.class));
|
cards.add(new SetCardInfo("Stella Lee, Wild Card", 3, Rarity.MYTHIC, mage.cards.s.StellaLeeWildCard.class));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
package mage.game.permanent.token;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.keyword.FlyingAbility;
|
||||||
|
import mage.abilities.keyword.ProwessAbility;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class DragonElementalToken extends TokenImpl {
|
||||||
|
|
||||||
|
public DragonElementalToken() {
|
||||||
|
super("Dragon Token", "4/4 red Dragon Elemental creature token with flying and prowess");
|
||||||
|
cardType.add(CardType.CREATURE);
|
||||||
|
color.setRed(true);
|
||||||
|
subtype.add(SubType.DRAGON);
|
||||||
|
subtype.add(SubType.ELEMENTAL);
|
||||||
|
power = new MageInt(4);
|
||||||
|
toughness = new MageInt(4);
|
||||||
|
addAbility(FlyingAbility.getInstance());
|
||||||
|
addAbility(new ProwessAbility());
|
||||||
|
}
|
||||||
|
|
||||||
|
private DragonElementalToken(final DragonElementalToken token) {
|
||||||
|
super(token);
|
||||||
|
}
|
||||||
|
|
||||||
|
public DragonElementalToken copy() {
|
||||||
|
return new DragonElementalToken(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue