this is a big one - fixed modal targetting and refactored getText()

This commit is contained in:
BetaSteward 2011-07-21 22:04:08 -04:00
parent 1b6e78c489
commit 84b9cbb16b
373 changed files with 912 additions and 1814 deletions

View file

@ -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";
}
}