forked from External/mage
this is a big one - fixed modal targetting and refactored getText()
This commit is contained in:
parent
1b6e78c489
commit
84b9cbb16b
373 changed files with 912 additions and 1814 deletions
|
|
@ -46,6 +46,7 @@ public class DestroyAllControlledTargetEffect extends OneShotEffect<DestroyAllCo
|
|||
public DestroyAllControlledTargetEffect(FilterPermanent filter) {
|
||||
super(Outcome.DestroyPermanent);
|
||||
this.filter = filter;
|
||||
staticText = "Destroy all " + filter.getMessage() + " controlled by target player";
|
||||
}
|
||||
|
||||
public DestroyAllControlledTargetEffect(final DestroyAllControlledTargetEffect effect) {
|
||||
|
|
@ -66,9 +67,4 @@ public class DestroyAllControlledTargetEffect extends OneShotEffect<DestroyAllCo
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getText(Ability source) {
|
||||
return "Destroy all " + filter.getMessage() + " controlled by target player";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue