spjspj - Fix Evangelize (TSP)

This commit is contained in:
spjspj 2016-10-20 18:50:36 +11:00
parent b6661ae79d
commit 7017749265

View file

@ -44,7 +44,6 @@ import mage.target.common.TargetOpponentsChoicePermanent;
public class Evangelize extends CardImpl { public class Evangelize extends CardImpl {
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent(); private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent();
private static final String staticText = "Gain control of target creature of an opponent's choice that he or she controls";
public Evangelize(UUID ownerId, CardSetInfo setInfo) { public Evangelize(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{W}"); super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{W}");
@ -53,7 +52,9 @@ public class Evangelize extends CardImpl {
this.addAbility(new BuybackAbility("{2}{W}{W}")); this.addAbility(new BuybackAbility("{2}{W}{W}"));
// Gain control of target creature of an opponent's choice that he or she controls. // Gain control of target creature of an opponent's choice that he or she controls.
this.getSpellAbility().addEffect(new GainControlTargetEffect(Duration.EndOfGame)); GainControlTargetEffect effect = new GainControlTargetEffect(Duration.EndOfGame);
effect.setText("Gain control of target creature of an opponent's choice that he or she controls");
this.getSpellAbility().addEffect(effect);
this.getSpellAbility().addTarget(new TargetOpponentsChoicePermanent(1, 1, filter, false)); this.getSpellAbility().addTarget(new TargetOpponentsChoicePermanent(1, 1, filter, false));
} }