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
|
|
@ -18,6 +18,7 @@ public class AllyEntersBattlefieldTriggeredAbility extends TriggeredAbilityImpl
|
|||
public AllyEntersBattlefieldTriggeredAbility(Effect effect, boolean optional) {
|
||||
super(Zone.BATTLEFIELD, effect, optional);
|
||||
this.setAbilityWord(AbilityWord.RALLY);
|
||||
setTriggerPhrase("Whenever {this} or another Ally enters the battlefield under your control, ");
|
||||
}
|
||||
|
||||
public AllyEntersBattlefieldTriggeredAbility(AllyEntersBattlefieldTriggeredAbility ability) {
|
||||
|
|
@ -37,11 +38,6 @@ public class AllyEntersBattlefieldTriggeredAbility extends TriggeredAbilityImpl
|
|||
|| (ebe.getTarget().hasSubtype(SubType.ALLY, game) && !event.getTargetId().equals(this.getSourceId())));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTriggerPhrase() {
|
||||
return "Whenever {this} or another Ally enters the battlefield under your control, ";
|
||||
}
|
||||
|
||||
@Override
|
||||
public AllyEntersBattlefieldTriggeredAbility copy() {
|
||||
return new AllyEntersBattlefieldTriggeredAbility(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue