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
|
|
@ -33,6 +33,7 @@ public class GainLifeFirstTimeTriggeredAbility extends TriggeredAbilityImpl {
|
|||
this.when = when;
|
||||
this.addWatcher(new GainLifeFirstTimeWatcher());
|
||||
this.addHint(hint);
|
||||
setTriggerPhrase("When" + (when ? "" : "ever") + " you gain life for the first time each turn, ");
|
||||
}
|
||||
|
||||
private GainLifeFirstTimeTriggeredAbility(final GainLifeFirstTimeTriggeredAbility ability) {
|
||||
|
|
@ -51,11 +52,6 @@ public class GainLifeFirstTimeTriggeredAbility extends TriggeredAbilityImpl {
|
|||
return watcher != null && watcher.checkEvent(getControllerId(), event);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTriggerPhrase() {
|
||||
return "When" + (when ? "" : "ever") + " you gain life for the first time each turn, " ;
|
||||
}
|
||||
|
||||
@Override
|
||||
public GainLifeFirstTimeTriggeredAbility copy() {
|
||||
return new GainLifeFirstTimeTriggeredAbility(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue