mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[MID] Implemented Rise of the Ants
This commit is contained in:
parent
4838e7ff34
commit
72cb83e615
3 changed files with 67 additions and 0 deletions
38
Mage.Sets/src/mage/cards/r/RiseOfTheAnts.java
Normal file
38
Mage.Sets/src/mage/cards/r/RiseOfTheAnts.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.abilities.keyword.FlashbackAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.RiseOfTheAntsToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RiseOfTheAnts extends CardImpl {
|
||||
|
||||
public RiseOfTheAnts(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{G}{G}");
|
||||
|
||||
// Create two 3/3 green Insect creature tokens. You gain 2 life.
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new RiseOfTheAntsToken(), 2));
|
||||
this.getSpellAbility().addEffect(new GainLifeEffect(2).concatBy("."));
|
||||
|
||||
// Flashback {6}{G}{G}
|
||||
this.addAbility(new FlashbackAbility(this, new ManaCostsImpl<>("{6}{G}{G}")));
|
||||
}
|
||||
|
||||
private RiseOfTheAnts(final RiseOfTheAnts card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RiseOfTheAnts copy() {
|
||||
return new RiseOfTheAnts(this);
|
||||
}
|
||||
}
|
|
@ -231,6 +231,7 @@ public final class InnistradMidnightHunt extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Reckless Stormseeker", 157, Rarity.RARE, mage.cards.r.RecklessStormseeker.class));
|
||||
cards.add(new SetCardInfo("Return to Nature", 195, Rarity.COMMON, mage.cards.r.ReturnToNature.class));
|
||||
cards.add(new SetCardInfo("Revenge of the Drowned", 72, Rarity.COMMON, mage.cards.r.RevengeOfTheDrowned.class));
|
||||
cards.add(new SetCardInfo("Rise of the Ants", 196, Rarity.UNCOMMON, mage.cards.r.RiseOfTheAnts.class));
|
||||
cards.add(new SetCardInfo("Rite of Harmony", 236, Rarity.RARE, mage.cards.r.RiteOfHarmony.class));
|
||||
cards.add(new SetCardInfo("Ritual Guardian", 30, Rarity.COMMON, mage.cards.r.RitualGuardian.class));
|
||||
cards.add(new SetCardInfo("Ritual of Hope", 31, Rarity.UNCOMMON, mage.cards.r.RitualOfHope.class));
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RiseOfTheAntsToken extends TokenImpl {
|
||||
|
||||
public RiseOfTheAntsToken() {
|
||||
super("Insect", "3/3 green Insect creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add(SubType.INSECT);
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
}
|
||||
|
||||
public RiseOfTheAntsToken(final RiseOfTheAntsToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public RiseOfTheAntsToken copy() {
|
||||
return new RiseOfTheAntsToken(this);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue