fix ability text

This commit is contained in:
igoudt 2017-07-04 21:42:05 +02:00
parent a6081e1481
commit 1792d98b1a

View file

@ -14,15 +14,15 @@ import java.util.UUID;
public class GiftOfStrength extends CardImpl {
public GiftOfStrength(UUID cardId, CardSetInfo cardSetInfo){
super(cardId, cardSetInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
public GiftOfStrength(UUID ownerId, CardSetInfo cardSetInfo) {
super(ownerId, cardSetInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
// Target creature gets +3/+3 and gains reach until end of turn.
Effect effect = new BoostTargetEffect(3, 3, Duration.EndOfTurn);
effect.setText("Target creature gets +3/+3");
this.getSpellAbility().addEffect(effect);
effect = new GainAbilityTargetEffect(ReachAbility.getInstance(), Duration.EndOfTurn);
effect.setText("and gains flying until end of turn");
effect.setText("and gains reach until end of turn");
this.getSpellAbility().addEffect(effect);
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}