foul-magics/Mage.Sets/src/mage/cards/g/GiantGrowth.java
2021-10-01 15:56:40 -05:00

39 lines
1,020 B
Java

package mage.cards.g;
import java.util.UUID;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.Outcome;
import mage.target.common.TargetCreaturePermanent;
/**
*
* @author BetaSteward_at_googlemail.com
*/
public final class GiantGrowth extends CardImpl {
public GiantGrowth(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{G}");
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
Effect effect = new BoostTargetEffect(3, 3, Duration.EndOfTurn);
effect.setOutcome(Outcome.Benefit);
this.getSpellAbility().addEffect(effect);
}
private GiantGrowth(final GiantGrowth card) {
super(card);
}
@Override
public GiantGrowth copy() {
return new GiantGrowth(this);
}
}