mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Icefall Regent - Fixed that all untapping in uzntap steps were prevented instead of only the untapping in the untap step of the creature controller.
This commit is contained in:
parent
6de343970b
commit
a521d62152
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,6 @@ import mage.constants.TargetController;
|
|||
import mage.constants.WatcherScope;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import static mage.filter.predicate.permanent.ControllerControlsIslandPredicate.filter;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
|
@ -157,7 +156,8 @@ class IcefallRegentEffect extends ContinuousRuleModifyingEffectImpl {
|
|||
|
||||
if (game.getTurn().getStepType() == PhaseStep.UNTAP && event.getType() == GameEvent.EventType.UNTAP) {
|
||||
if (event.getTargetId().equals(targetPointer.getFirst(game, source))) {
|
||||
return true;
|
||||
Permanent targetCreature = game.getPermanent(targetPointer.getFirst(game, source));
|
||||
return targetCreature != null && game.getActivePlayerId().equals(targetCreature.getControllerId());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue