forked from External/mage
Replace Overriden getTriggerPhrase() with setTriggerPhrase() usage (#9343)
This commit is contained in:
parent
188e6dd8c1
commit
ebdb6b53a4
406 changed files with 918 additions and 2665 deletions
|
|
@ -14,6 +14,8 @@ public class TappedNotAttackingTriggeredAbility extends TriggeredAbilityImpl {
|
|||
|
||||
public TappedNotAttackingTriggeredAbility(Effect effect, boolean optional) {
|
||||
super(Zone.BATTLEFIELD, effect, optional);
|
||||
setTriggerPhrase("Whenever a creature an opponent controls becomes tapped, " +
|
||||
"if it isn't being declared as an attacker, ");
|
||||
}
|
||||
|
||||
private TappedNotAttackingTriggeredAbility(final TappedNotAttackingTriggeredAbility ability) {
|
||||
|
|
@ -39,10 +41,4 @@ public class TappedNotAttackingTriggeredAbility extends TriggeredAbilityImpl {
|
|||
return permanent != null && permanent.isCreature(game)
|
||||
&& game.getOpponents(permanent.getControllerId()).contains(getControllerId());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTriggerPhrase() {
|
||||
return "Whenever a creature an opponent controls becomes tapped, " +
|
||||
"if it isn't being declared as an attacker, ";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue