Allow to set custom text for provoke ability.

This commit is contained in:
LevelX2 2016-10-15 07:34:22 +02:00
parent 636fdb0afb
commit a74e0c2ed3
2 changed files with 7 additions and 3 deletions

View file

@ -47,7 +47,7 @@ public class TwilekSeductess extends CardImpl {
this.toughness = new MageInt(2);
// Whenever Twi'lek Seductess attacks, you may have target creature defending player controls untap and block it if able.
this.addAbility(new ProvokeAbility());
this.addAbility(new ProvokeAbility("Whenever {this} attacks, you may have target creature defending player controls untap and block it if able."));
}

View file

@ -53,7 +53,11 @@ import mage.target.common.TargetCreaturePermanent;
public class ProvokeAbility extends AttacksTriggeredAbility {
public ProvokeAbility() {
super(new UntapTargetEffect(), true, "Provoke <i>(Whenever this attacks, you may have target creature defending player controls untap and block it if able.)</i>");
this("Provoke <i>(Whenever this attacks, you may have target creature defending player controls untap and block it if able.)</i>");
}
public ProvokeAbility(String text) {
super(new UntapTargetEffect(), true, text);
this.addEffect(new ProvokeRequirementEffect());
}