[ONE] Implement Aspirant's Ascent

This commit is contained in:
theelk801 2023-01-27 08:59:06 -05:00
parent be678e0f5b
commit ec84757149
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,40 @@
package mage.cards.a;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.abilities.keyword.ToxicAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class AspirantsAscent extends CardImpl {
public AspirantsAscent(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{U}");
// Until end of turn, target creature gets +1/+3 and gains flying and toxic 1.
this.getSpellAbility().addEffect(new BoostTargetEffect(1, 3)
.setText("until end of turn, target creature gets +1/+3"));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(FlyingAbility.getInstance())
.setText("and gains flying"));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(new ToxicAbility(1))
.setText("and toxic 1"));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}
private AspirantsAscent(final AspirantsAscent card) {
super(card);
}
@Override
public AspirantsAscent copy() {
return new AspirantsAscent(this);
}
}

View file

@ -28,6 +28,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
cards.add(new SetCardInfo("Archfiend of the Dross", 82, Rarity.RARE, mage.cards.a.ArchfiendOfTheDross.class));
cards.add(new SetCardInfo("Argentum Masticore", 222, Rarity.RARE, mage.cards.a.ArgentumMasticore.class));
cards.add(new SetCardInfo("Armored Scrapgorger", 158, Rarity.UNCOMMON, mage.cards.a.ArmoredScrapgorger.class));
cards.add(new SetCardInfo("Aspirant's Ascent", 40, Rarity.COMMON, mage.cards.a.AspirantsAscent.class));
cards.add(new SetCardInfo("Atraxa, Grand Unifier", 196, Rarity.MYTHIC, mage.cards.a.AtraxaGrandUnifier.class));
cards.add(new SetCardInfo("Barbed Batterfist", 121, Rarity.COMMON, mage.cards.b.BarbedBatterfist.class));
cards.add(new SetCardInfo("Basilica Shepherd", 4, Rarity.COMMON, mage.cards.b.BasilicaShepherd.class));