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 KinshipAbility extends TriggeredAbilityImpl {
|
|||
public KinshipAbility(Effect kinshipEffect) {
|
||||
super(Zone.BATTLEFIELD, new KinshipBaseEffect(kinshipEffect), true);
|
||||
this.setAbilityWord(AbilityWord.KINSHIP);
|
||||
setTriggerPhrase("At the beginning of your upkeep, ");
|
||||
}
|
||||
|
||||
public KinshipAbility(final KinshipAbility ability) {
|
||||
|
|
@ -56,12 +57,6 @@ public class KinshipAbility extends TriggeredAbilityImpl {
|
|||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
return event.getPlayerId().equals(this.controllerId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTriggerPhrase() {
|
||||
return "At the beginning of your upkeep, ";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class KinshipBaseEffect extends OneShotEffect {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue