[MH2] Implemented Unbounded Potential

This commit is contained in:
Evan Kranzler 2021-06-03 08:36:17 -04:00
parent a999738807
commit d4eb9f5c92
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,44 @@
package mage.cards.u;
import mage.abilities.Mode;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.abilities.effects.common.counter.ProliferateEffect;
import mage.abilities.keyword.EntwineAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.counters.CounterType;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class UnboundedPotential extends CardImpl {
public UnboundedPotential(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{W}");
// Choose one
// Put a +1/+1 counter on each of up to two target creatures.
this.getSpellAbility().addEffect(new AddCountersTargetEffect(CounterType.P1P1.createInstance())
.setText("put a +1/+1 counter on each of up to two target creatures"));
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2));
// Proliferate.
this.getSpellAbility().addMode(new Mode(new ProliferateEffect()));
// Entwine {3}{W}
this.addAbility(new EntwineAbility("{3}{W}"));
}
private UnboundedPotential(final UnboundedPotential card) {
super(card);
}
@Override
public UnboundedPotential copy() {
return new UnboundedPotential(this);
}
}

View file

@ -265,6 +265,7 @@ public final class ModernHorizons2 extends ExpansionSet {
cards.add(new SetCardInfo("Tormod's Cryptkeeper", 239, Rarity.COMMON, mage.cards.t.TormodsCryptkeeper.class));
cards.add(new SetCardInfo("Tourach's Canticle", 103, Rarity.COMMON, mage.cards.t.TourachsCanticle.class));
cards.add(new SetCardInfo("Tragic Fall", 104, Rarity.COMMON, mage.cards.t.TragicFall.class));
cards.add(new SetCardInfo("Unbounded Potential", 36, Rarity.COMMON, mage.cards.u.UnboundedPotential.class));
cards.add(new SetCardInfo("Underworld Hermit", 105, Rarity.UNCOMMON, mage.cards.u.UnderworldHermit.class));
cards.add(new SetCardInfo("Unholy Heat", 145, Rarity.COMMON, mage.cards.u.UnholyHeat.class));
cards.add(new SetCardInfo("Unmarked Grave", 106, Rarity.RARE, mage.cards.u.UnmarkedGrave.class));