mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
[ONE] Implement Adaptive Sporesinger
This commit is contained in:
parent
80a5619f34
commit
be678e0f5b
2 changed files with 59 additions and 0 deletions
58
Mage.Sets/src/mage/cards/a/AdaptiveSporesinger.java
Normal file
58
Mage.Sets/src/mage/cards/a/AdaptiveSporesinger.java
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
package mage.cards.a;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.Ability;
|
||||||
|
import mage.abilities.Mode;
|
||||||
|
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||||
|
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||||
|
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||||
|
import mage.abilities.effects.common.counter.ProliferateEffect;
|
||||||
|
import mage.abilities.keyword.VigilanceAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
import mage.target.common.TargetCreaturePermanent;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class AdaptiveSporesinger extends CardImpl {
|
||||||
|
|
||||||
|
public AdaptiveSporesinger(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||||
|
|
||||||
|
this.subtype.add(SubType.PHYREXIAN);
|
||||||
|
this.subtype.add(SubType.DRUID);
|
||||||
|
this.power = new MageInt(2);
|
||||||
|
this.toughness = new MageInt(2);
|
||||||
|
|
||||||
|
// Vigilance
|
||||||
|
this.addAbility(VigilanceAbility.getInstance());
|
||||||
|
|
||||||
|
// When Adaptive Sporesinger enters the battlefield, choose one--
|
||||||
|
// * Target creature gets +2/+2 and gains vigilance until end of turn.
|
||||||
|
Ability ability = new EntersBattlefieldTriggeredAbility(
|
||||||
|
new BoostTargetEffect(2, 2)
|
||||||
|
.setText("target creature gets +2/+2")
|
||||||
|
);
|
||||||
|
ability.addEffect(new GainAbilityTargetEffect(VigilanceAbility.getInstance())
|
||||||
|
.setText("and gains vigilance until end of turn"));
|
||||||
|
ability.addTarget(new TargetCreaturePermanent());
|
||||||
|
|
||||||
|
// * Proliferate.
|
||||||
|
ability.addMode(new Mode(new ProliferateEffect()));
|
||||||
|
this.addAbility(ability);
|
||||||
|
}
|
||||||
|
|
||||||
|
private AdaptiveSporesinger(final AdaptiveSporesinger card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AdaptiveSporesinger copy() {
|
||||||
|
return new AdaptiveSporesinger(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -20,6 +20,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
||||||
this.blockName = "Phyrexia: All Will Be One";
|
this.blockName = "Phyrexia: All Will Be One";
|
||||||
this.hasBoosters = false; // temporary
|
this.hasBoosters = false; // temporary
|
||||||
|
|
||||||
|
cards.add(new SetCardInfo("Adaptive Sporesinger", 157, Rarity.COMMON, mage.cards.a.AdaptiveSporesinger.class));
|
||||||
cards.add(new SetCardInfo("Ambulatory Edifice", 79, Rarity.UNCOMMON, mage.cards.a.AmbulatoryEdifice.class));
|
cards.add(new SetCardInfo("Ambulatory Edifice", 79, Rarity.UNCOMMON, mage.cards.a.AmbulatoryEdifice.class));
|
||||||
cards.add(new SetCardInfo("Annex Sentry", 2, Rarity.UNCOMMON, mage.cards.a.AnnexSentry.class));
|
cards.add(new SetCardInfo("Annex Sentry", 2, Rarity.UNCOMMON, mage.cards.a.AnnexSentry.class));
|
||||||
cards.add(new SetCardInfo("Anoint with Affliction", 81, Rarity.COMMON, mage.cards.a.AnointWithAffliction.class));
|
cards.add(new SetCardInfo("Anoint with Affliction", 81, Rarity.COMMON, mage.cards.a.AnointWithAffliction.class));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue