mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Implemented Song of Creation
This commit is contained in:
parent
be93e428da
commit
49e46ccb59
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/s/SongOfCreation.java
Normal file
49
Mage.Sets/src/mage/cards/s/SongOfCreation.java
Normal file
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.common.BeginningOfEndStepTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.common.SpellCastControllerTriggeredAbility;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.PlayAdditionalLandsControllerEffect;
|
||||
import mage.abilities.effects.common.discard.DiscardHandControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.TargetController;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SongOfCreation extends CardImpl {
|
||||
|
||||
public SongOfCreation(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{G}{U}{R}");
|
||||
|
||||
// You may play an additional land on each of your turns.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
new PlayAdditionalLandsControllerEffect(1, Duration.WhileOnBattlefield)
|
||||
));
|
||||
|
||||
// Whenever you cast a spell, draw two cards.
|
||||
this.addAbility(new SpellCastControllerTriggeredAbility(
|
||||
new DrawCardSourceControllerEffect(2), false
|
||||
));
|
||||
|
||||
// At the beginning of your end step, discard your hand.
|
||||
this.addAbility(new BeginningOfEndStepTriggeredAbility(
|
||||
new DiscardHandControllerEffect(), TargetController.YOU, false
|
||||
));
|
||||
}
|
||||
|
||||
private SongOfCreation(final SongOfCreation card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SongOfCreation copy() {
|
||||
return new SongOfCreation(this);
|
||||
}
|
||||
}
|
|
@ -138,6 +138,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Shredded Sails", 136, Rarity.COMMON, mage.cards.s.ShreddedSails.class));
|
||||
cards.add(new SetCardInfo("Skull Prophet", 206, Rarity.UNCOMMON, mage.cards.s.SkullProphet.class));
|
||||
cards.add(new SetCardInfo("Snapdax, Apex of the Hunt", 209, Rarity.MYTHIC, mage.cards.s.SnapdaxApexOfTheHunt.class));
|
||||
cards.add(new SetCardInfo("Song of Creation", 210, Rarity.RARE, mage.cards.s.SongOfCreation.class));
|
||||
cards.add(new SetCardInfo("Splendor Mare", 32, Rarity.UNCOMMON, mage.cards.s.SplendorMare.class));
|
||||
cards.add(new SetCardInfo("Spontaneous Flight", 33, Rarity.COMMON, mage.cards.s.SpontaneousFlight.class));
|
||||
cards.add(new SetCardInfo("Sprite Dragon", 211, Rarity.UNCOMMON, mage.cards.s.SpriteDragon.class));
|
||||
|
|
Loading…
Reference in a new issue