mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
[DFT] Implement Brightfield Glider
This commit is contained in:
parent
9530960ebe
commit
a80d3a6b5f
2 changed files with 57 additions and 0 deletions
56
Mage.Sets/src/mage/cards/b/BrightfieldGlider.java
Normal file
56
Mage.Sets/src/mage/cards/b/BrightfieldGlider.java
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksWhileSaddledTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.SaddleAbility;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
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 BrightfieldGlider extends CardImpl {
|
||||
|
||||
public BrightfieldGlider(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W}");
|
||||
|
||||
this.subtype.add(SubType.POSSUM);
|
||||
this.subtype.add(SubType.MOUNT);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Vigilance
|
||||
this.addAbility(VigilanceAbility.getInstance());
|
||||
|
||||
// Whenever this creature attacks while saddled, it gets +1/+2 and gains flying until end of turn.
|
||||
Ability ability = new AttacksWhileSaddledTriggeredAbility(new BoostSourceEffect(
|
||||
1, 2, Duration.EndOfTurn
|
||||
).setText("it gets +1/+2"));
|
||||
ability.addEffect(new GainAbilitySourceEffect(
|
||||
FlyingAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("and gains flying until end of turn"));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Saddle 3
|
||||
this.addAbility(new SaddleAbility(3));
|
||||
}
|
||||
|
||||
private BrightfieldGlider(final BrightfieldGlider card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BrightfieldGlider copy() {
|
||||
return new BrightfieldGlider(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -31,6 +31,7 @@ public final class Aetherdrift extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Bloodghast", 77, Rarity.RARE, mage.cards.b.Bloodghast.class));
|
||||
cards.add(new SetCardInfo("Blossoming Sands", 252, Rarity.COMMON, mage.cards.b.BlossomingSands.class));
|
||||
cards.add(new SetCardInfo("Boosted Sloop", 190, Rarity.UNCOMMON, mage.cards.b.BoostedSloop.class));
|
||||
cards.add(new SetCardInfo("Brightfield Glider", 4, Rarity.COMMON, mage.cards.b.BrightfieldGlider.class));
|
||||
cards.add(new SetCardInfo("Brightfield Mustang", 5, Rarity.COMMON, mage.cards.b.BrightfieldMustang.class));
|
||||
cards.add(new SetCardInfo("Brightglass Gearhulk", 191, Rarity.MYTHIC, mage.cards.b.BrightglassGearhulk.class));
|
||||
cards.add(new SetCardInfo("Count on Luck", 118, Rarity.RARE, mage.cards.c.CountOnLuck.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue