forked from External/mage
cleanup calls to respect range of influence
This commit is contained in:
parent
156c474df8
commit
4025b312ad
29 changed files with 39 additions and 41 deletions
|
|
@ -63,7 +63,7 @@ public class UntapLandsEffect extends OneShotEffect {
|
|||
if (upTo) {
|
||||
tappedLands = game.getBattlefield().getAllActivePermanents(filter, controller.getId(), game).size();
|
||||
} else {
|
||||
tappedLands = game.getBattlefield().getAllActivePermanents(filter, game).size();
|
||||
tappedLands = game.getBattlefield().getActivePermanents(filter, source.getControllerId(), source, game).size();
|
||||
}
|
||||
TargetLandPermanent target = new TargetLandPermanent(upTo ? 0 : Math.min(tappedLands, amount), amount, filter, true);
|
||||
if (target.canChoose(source.getControllerId(), source, game)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue