forked from External/mage
[MH2] Implemented Soul of Migration
This commit is contained in:
parent
23fe55f5ad
commit
5f01d00f08
2 changed files with 47 additions and 0 deletions
46
Mage.Sets/src/mage/cards/s/SoulOfMigration.java
Normal file
46
Mage.Sets/src/mage/cards/s/SoulOfMigration.java
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.EvokeAbility;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.BirdToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SoulOfMigration extends CardImpl {
|
||||
|
||||
public SoulOfMigration(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{W}{W}");
|
||||
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// When Soul of Migration enters the battlefield, create two 1/1 white Bird creature tokens with flying.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new BirdToken(), 2)));
|
||||
|
||||
// Evoke {3}{W}
|
||||
this.addAbility(new EvokeAbility("{3}{W}"));
|
||||
}
|
||||
|
||||
private SoulOfMigration(final SoulOfMigration card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SoulOfMigration copy() {
|
||||
return new SoulOfMigration(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -198,6 +198,7 @@ public final class ModernHorizons2 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Solitary Confinement", 265, Rarity.RARE, mage.cards.s.SolitaryConfinement.class));
|
||||
cards.add(new SetCardInfo("Solitude", 32, Rarity.MYTHIC, mage.cards.s.Solitude.class));
|
||||
cards.add(new SetCardInfo("Soul Snare", 266, Rarity.UNCOMMON, mage.cards.s.SoulSnare.class));
|
||||
cards.add(new SetCardInfo("Soul of Migration", 33, Rarity.COMMON, mage.cards.s.SoulOfMigration.class));
|
||||
cards.add(new SetCardInfo("Specimen Collector", 64, Rarity.UNCOMMON, mage.cards.s.SpecimenCollector.class));
|
||||
cards.add(new SetCardInfo("Spreading Insurrection", 142, Rarity.UNCOMMON, mage.cards.s.SpreadingInsurrection.class));
|
||||
cards.add(new SetCardInfo("Squirrel Mob", 286, Rarity.RARE, mage.cards.s.SquirrelMob.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue