forked from External/mage
text adjustment: untap all lands
This commit is contained in:
parent
6b9beeb9ea
commit
5ba47db226
2 changed files with 10 additions and 11 deletions
|
|
@ -1,9 +1,9 @@
|
|||
|
||||
package mage.abilities.effects.common;
|
||||
|
||||
import mage.constants.Outcome;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterLandPermanent;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
|
@ -17,14 +17,7 @@ public class UntapAllLandsControllerEffect extends OneShotEffect {
|
|||
private final FilterLandPermanent filter;
|
||||
|
||||
public UntapAllLandsControllerEffect() {
|
||||
super(Outcome.Untap);
|
||||
staticText = "Untap all lands you control";
|
||||
filter = new FilterLandPermanent();
|
||||
}
|
||||
|
||||
protected UntapAllLandsControllerEffect(final UntapAllLandsControllerEffect effect) {
|
||||
super(effect);
|
||||
this.filter = effect.filter;
|
||||
this(StaticFilters.FILTER_LANDS);
|
||||
}
|
||||
|
||||
public UntapAllLandsControllerEffect(FilterLandPermanent filter) {
|
||||
|
|
@ -33,6 +26,11 @@ public class UntapAllLandsControllerEffect extends OneShotEffect {
|
|||
this.filter = filter;
|
||||
}
|
||||
|
||||
protected UntapAllLandsControllerEffect(final UntapAllLandsControllerEffect effect) {
|
||||
super(effect);
|
||||
this.filter = effect.filter;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue