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
|
|
@ -27,6 +27,7 @@ public class InspiredAbility extends TriggeredAbilityImpl {
|
|||
if (isInspired) {
|
||||
setAbilityWord(AbilityWord.INSPIRED);
|
||||
}
|
||||
setTriggerPhrase("Whenever {this} becomes untapped, ");
|
||||
}
|
||||
|
||||
public InspiredAbility(final InspiredAbility ability) {
|
||||
|
|
@ -47,9 +48,4 @@ public class InspiredAbility extends TriggeredAbilityImpl {
|
|||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
return event.getTargetId().equals(this.getSourceId());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTriggerPhrase() {
|
||||
return "Whenever {this} becomes untapped, ";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue