mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Tidebinder Mage - Fixed that his ability prevented untapping of the targeted creature also if it#s not the turn of the controller of the targeted creature.
This commit is contained in:
parent
aa606a1d3c
commit
d21f173e76
1 changed files with 4 additions and 3 deletions
|
@ -150,10 +150,12 @@ class TidebinderMageEffect extends ReplacementEffectImpl {
|
|||
|
||||
if (game.getTurn().getStepType() == PhaseStep.UNTAP && event.getType() == GameEvent.EventType.UNTAP) {
|
||||
if (event.getTargetId().equals(targetPointer.getFirst(game, source))) {
|
||||
return true;
|
||||
Permanent permanent = game.getPermanent(event.getTargetId());
|
||||
if (permanent != null && game.getActivePlayerId().equals(permanent.getControllerId())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -180,7 +182,6 @@ class TidebinderMageWatcher extends Watcher {
|
|||
if (zEvent.getFromZone() == Zone.BATTLEFIELD) {
|
||||
condition = true;
|
||||
game.replaceEvent(event);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue