mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
spjspj - Fix Evangelize (TSP)
This commit is contained in:
parent
b6661ae79d
commit
7017749265
1 changed files with 3 additions and 2 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue