mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 19:59:54 -08:00
34 lines
917 B
Java
34 lines
917 B
Java
|
|
package mage.cards.b;
|
|
|
|
import java.util.UUID;
|
|
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.counters.CounterType;
|
|
import mage.target.common.TargetCreaturePermanent;
|
|
|
|
/**
|
|
*
|
|
* @author Loki
|
|
*/
|
|
public final class Battlegrowth extends CardImpl {
|
|
|
|
public Battlegrowth(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{G}");
|
|
|
|
// Put a +1/+1 counter on target creature.
|
|
this.getSpellAbility().addEffect(new AddCountersTargetEffect(CounterType.P1P1.createInstance()));
|
|
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
|
}
|
|
|
|
private Battlegrowth(final Battlegrowth card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public Battlegrowth copy() {
|
|
return new Battlegrowth(this);
|
|
}
|
|
}
|