mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[MID] Implemented Join the Dance
This commit is contained in:
parent
5bfcfe0ff7
commit
2566707889
2 changed files with 38 additions and 0 deletions
37
Mage.Sets/src/mage/cards/j/JoinTheDance.java
Normal file
37
Mage.Sets/src/mage/cards/j/JoinTheDance.java
Normal file
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.j;
|
||||
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.FlashbackAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TimingRule;
|
||||
import mage.game.permanent.token.HumanToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class JoinTheDance extends CardImpl {
|
||||
|
||||
public JoinTheDance(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{G}{W}");
|
||||
|
||||
// Create two 1/1 white Human creature tokens.
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new HumanToken(), 2));
|
||||
|
||||
// Flashback {3}{G}{W}
|
||||
this.addAbility(new FlashbackAbility(new ManaCostsImpl<>("{3}{G}{W}"), TimingRule.SORCERY));
|
||||
}
|
||||
|
||||
private JoinTheDance(final JoinTheDance card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public JoinTheDance copy() {
|
||||
return new JoinTheDance(this);
|
||||
}
|
||||
}
|
|
@ -29,6 +29,7 @@ public final class InnistradMidnightHunt extends ExpansionSet {
|
|||
|
||||
cards.add(new SetCardInfo("Forest", 276, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Island", 270, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Join the Dance", 229, Rarity.UNCOMMON, mage.cards.j.JoinTheDance.class));
|
||||
cards.add(new SetCardInfo("Mountain", 274, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Plains", 268, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Swamp", 272, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
|
||||
|
|
Loading…
Reference in a new issue