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
|
|
@ -16,6 +16,7 @@ public class AttacksOpponentWithMostLifeTriggeredAbility extends TriggeredAbilit
|
|||
|
||||
public AttacksOpponentWithMostLifeTriggeredAbility(Effect effect, boolean optional) {
|
||||
super(Zone.BATTLEFIELD, effect, optional);
|
||||
setTriggerPhrase("Whenever this creature attacks a player, if no opponent has more life than that player, ");
|
||||
}
|
||||
|
||||
private AttacksOpponentWithMostLifeTriggeredAbility(final AttacksOpponentWithMostLifeTriggeredAbility ability) {
|
||||
|
|
@ -49,11 +50,6 @@ public class AttacksOpponentWithMostLifeTriggeredAbility extends TriggeredAbilit
|
|||
.getLife();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTriggerPhrase() {
|
||||
return "Whenever this creature attacks a player, if no opponent has more life than that player, ";
|
||||
}
|
||||
|
||||
@Override
|
||||
public AttacksOpponentWithMostLifeTriggeredAbility copy() {
|
||||
return new AttacksOpponentWithMostLifeTriggeredAbility(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue