mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Allow to set custom text for provoke ability.
This commit is contained in:
parent
636fdb0afb
commit
a74e0c2ed3
2 changed files with 7 additions and 3 deletions
|
@ -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."));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue