mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
Merge pull request #2484 from spjspj/master
spjspj - Fix Evangelize (TSP)
This commit is contained in:
commit
4732f83082
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…
Add table
Add a link
Reference in a new issue