mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Implemented Cavalier of Gales
This commit is contained in:
parent
3996511976
commit
9f760df819
3 changed files with 56 additions and 4 deletions
51
Mage.Sets/src/mage/cards/c/CavalierOfGales.java
Normal file
51
Mage.Sets/src/mage/cards/c/CavalierOfGales.java
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.DiesTriggeredAbility;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.BrainstormEffect;
|
||||
import mage.abilities.effects.common.ShuffleIntoLibrarySourceEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CavalierOfGales extends CardImpl {
|
||||
|
||||
public CavalierOfGales(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}{U}{U}");
|
||||
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.subtype.add(SubType.KNIGHT);
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// When Cavalier of Gales enters the battlefield, draw three cards, then put two cards from your hand on top of your library in any order.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new BrainstormEffect()));
|
||||
|
||||
// When Cavalier of Gales dies, shuffle it into its owner's library, then scry 2.
|
||||
Ability ability = new DiesTriggeredAbility(new ShuffleIntoLibrarySourceEffect());
|
||||
ability.addEffect(new ScryEffect(2).concatBy(", then"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private CavalierOfGales(final CavalierOfGales card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CavalierOfGales copy() {
|
||||
return new CavalierOfGales(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -67,6 +67,7 @@ public final class CoreSet2020 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Captivating Gyre", 51, Rarity.UNCOMMON, mage.cards.c.CaptivatingGyre.class));
|
||||
cards.add(new SetCardInfo("Cavalier of Dawn", 10, Rarity.MYTHIC, mage.cards.c.CavalierOfDawn.class));
|
||||
cards.add(new SetCardInfo("Cavalier of Flame", 125, Rarity.MYTHIC, mage.cards.c.CavalierOfFlame.class));
|
||||
cards.add(new SetCardInfo("Cavalier of Gales", 52, Rarity.MYTHIC, mage.cards.c.CavalierOfGales.class));
|
||||
cards.add(new SetCardInfo("Cavalier of Night", 94, Rarity.MYTHIC, mage.cards.c.CavalierOfNight.class));
|
||||
cards.add(new SetCardInfo("Cavalier of Thorns", 167, Rarity.MYTHIC, mage.cards.c.CavalierOfThorns.class));
|
||||
cards.add(new SetCardInfo("Cerulean Drake", 53, Rarity.UNCOMMON, mage.cards.c.CeruleanDrake.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue