mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08: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
|
|
@ -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…
Add table
Add a link
Reference in a new issue