mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Implemented Daggersail Aeronaut
This commit is contained in:
parent
c3d8e14ad7
commit
8d1801b628
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/d/DaggersailAeronaut.java
Normal file
45
Mage.Sets/src/mage/cards/d/DaggersailAeronaut.java
Normal file
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.MyTurnCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DaggersailAeronaut extends CardImpl {
|
||||
|
||||
public DaggersailAeronaut(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}");
|
||||
|
||||
this.subtype.add(SubType.GOBLIN);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// As long as it's your turn, Daggersail Aeronaut has flying.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
new ConditionalContinuousEffect(new GainAbilitySourceEffect(
|
||||
FlyingAbility.getInstance(), Duration.WhileOnBattlefield
|
||||
), MyTurnCondition.instance, "As long as it's your turn, {this} has flying.")
|
||||
));
|
||||
}
|
||||
|
||||
private DaggersailAeronaut(final DaggersailAeronaut card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DaggersailAeronaut copy() {
|
||||
return new DaggersailAeronaut(this);
|
||||
}
|
||||
}
|
|
@ -99,6 +99,7 @@ public final class CoreSet2020 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Corpse Knight", 206, Rarity.UNCOMMON, mage.cards.c.CorpseKnight.class));
|
||||
cards.add(new SetCardInfo("Creeping Trailblazer", 207, Rarity.UNCOMMON, mage.cards.c.CreepingTrailblazer.class));
|
||||
cards.add(new SetCardInfo("Cryptic Caves", 244, Rarity.UNCOMMON, mage.cards.c.CrypticCaves.class));
|
||||
cards.add(new SetCardInfo("Daggersail Aeronaut", 133, Rarity.COMMON, mage.cards.d.DaggersailAeronaut.class));
|
||||
cards.add(new SetCardInfo("Daybreak Chaplain", 12, Rarity.COMMON, mage.cards.d.DaybreakChaplain.class));
|
||||
cards.add(new SetCardInfo("Destructive Digger", 134, Rarity.COMMON, mage.cards.d.DestructiveDigger.class));
|
||||
cards.add(new SetCardInfo("Devout Decree", 13, Rarity.UNCOMMON, mage.cards.d.DevoutDecree.class));
|
||||
|
|
Loading…
Reference in a new issue