- Outcome fix for Incremental Growth

This commit is contained in:
jeffwadsworth 2020-07-17 08:43:25 -05:00
parent e4ae2f3fec
commit fe9deec071

View file

@ -1,4 +1,3 @@
package mage.cards.i;
import java.util.UUID;
@ -23,23 +22,23 @@ import mage.target.common.TargetCreaturePermanent;
public final class IncrementalGrowth extends CardImpl {
public IncrementalGrowth(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{3}{G}{G}");
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{G}{G}");
// Put a +1/+1 counter on target creature, two +1/+1 counters on another target creature, and three +1/+1 counters on a third target creature.
// Put a +1/+1 counter on target creature, two +1/+1 counters on another target
// creature, and three +1/+1 counters on a third target creature.
this.getSpellAbility().addEffect(new IncrementalGrowthEffect());
FilterCreaturePermanent filter1 = new FilterCreaturePermanent("creature (gets a +1/+1 counter)");
TargetCreaturePermanent target1 = new TargetCreaturePermanent(filter1);
target1.setTargetTag(1);
this.getSpellAbility().addTarget(target1);
FilterCreaturePermanent filter2 = new FilterCreaturePermanent("another creature (gets two +1/+1 counter)");
filter2.add(new AnotherTargetPredicate(2));
TargetCreaturePermanent target2 = new TargetCreaturePermanent(filter2);
target2.setTargetTag(2);
this.getSpellAbility().addTarget(target2);
FilterCreaturePermanent filter3 = new FilterCreaturePermanent("another creature (gets three +1/+1 counters)");
filter3.add(new AnotherTargetPredicate(3));
TargetCreaturePermanent target3 = new TargetCreaturePermanent(filter3);
@ -60,8 +59,10 @@ public final class IncrementalGrowth extends CardImpl {
class IncrementalGrowthEffect extends OneShotEffect {
public IncrementalGrowthEffect() {
super(Outcome.UnboostCreature);
this.staticText = "Put a +1/+1 counter on target creature, two +1/+1 counters on another target creature, and three +1/+1 counters on a third target creature";
super(Outcome.Benefit);
this.staticText = "Put a +1/+1 counter on target creature, "
+ "two +1/+1 counters on another target creature, "
+ "and three +1/+1 counters on a third target creature";
}
public IncrementalGrowthEffect(final IncrementalGrowthEffect effect) {